Repository navigation
Commit 68576eb
committed
fix(web): keep the slash menu above the composer when vertical space is short
The command menu layer is bottom-anchored with a maxHeight derived from the
space above the composer, but nothing made its content respect that cap: the
list carries a fixed max height, so with the bottom terminal open the composer
sits high enough that the menu's content exceeds the layer and the excess
sticks out below the anchor line into the prompt box. The layer is now a flex
column and the surface and list shrink with it, so a short viewport scrolls
the list instead of overflowing the composer.
Fixes #95561 parent 5f878d2 commit 68576eb
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments