Skip to content

Commit 2df0f16

Browse files
authored
menus: don't allow vertical overflow in context menus (microsoft#209062)
Fixes microsoft#208714
1 parent e857eec commit 2df0f16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/base/browser/ui/menu/menu.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,8 @@ ${formatRule(Codicon.menuSubmenu)}
12811281
.monaco-menu .monaco-action-bar.vertical .keybinding {
12821282
font-size: inherit;
12831283
padding: 0 2em;
1284+
overflow: hidden;
1285+
max-height: 100%;
12841286
}
12851287
12861288
.monaco-menu .monaco-action-bar.vertical .menu-item-check {

0 commit comments

Comments
 (0)