Commit 3635d5e
fix(oc-docs): cap menu dropdown height so long lists scroll
The assertion operator dropdown lists 28 options; the shared MenuDropdown
surface was capped at 90vh, which measures the browser viewport rather than
the embedded component, so the list spilled past the app. Cap the surface at
min(20rem, 90vh) so long lists scroll instead of overflowing.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d2c6058 commit 3635d5e
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments