fix(web): anchor structured composer on mobile
This commit is contained in:
+12
-2
@@ -2190,12 +2190,17 @@ input.leaf-rename:focus {
|
||||
|
||||
.structured-body.st-narrow {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr) auto;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.structured-body.st-narrow .structured-scroll {
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.structured-body.st-narrow .structured-rail {
|
||||
grid-row: 1;
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
max-height: 40%;
|
||||
}
|
||||
|
||||
@@ -2207,6 +2212,7 @@ input.leaf-rename:focus {
|
||||
}
|
||||
|
||||
.structured-rows {
|
||||
flex: 1 0 auto;
|
||||
padding: var(--sp-3) var(--sp-3) 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -2623,6 +2629,10 @@ input.leaf-rename:focus {
|
||||
gap: var(--sp-2);
|
||||
}
|
||||
|
||||
.structured-body.st-narrow .structured-composer {
|
||||
padding-bottom: max(var(--sp-3), env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.structured-input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
|
||||
Reference in New Issue
Block a user