fix: Fix menu scrolling. (#8881)

This commit is contained in:
Aaron Dodson
2025-04-14 13:56:46 -07:00
committed by GitHub
parent 98cf5cb8ee
commit e45471d6f4
3 changed files with 14 additions and 18 deletions

View File

@@ -124,9 +124,6 @@ let content = `
.blocklyDropDownContent {
max-height: 300px; /* @todo: spec for maximum height. */
overflow: auto;
overflow-x: hidden;
position: relative;
}
.blocklyDropDownArrow {
@@ -416,7 +413,9 @@ input[type=number] {
border: inherit; /* Compatibility with gapi, reset from goog-menu */
font: normal 13px "Helvetica Neue", Helvetica, sans-serif;
outline: none;
position: relative; /* Compatibility with gapi, reset from goog-menu */
overflow-y: auto;
overflow-x: hidden;
max-height: 100%;
z-index: 20000; /* Arbitrary, but some apps depend on it... */
}