diff --git a/editor/css/dark.css b/editor/css/dark.css index 215bd9cee6d9554743d435c5b613122d5d231733..117390ee5793eba064623b9413c0a6f296fb68af 100644 --- a/editor/css/dark.css +++ b/editor/css/dark.css @@ -110,11 +110,13 @@ select { } #menubar .menu .options { - position: absolute; + position: fixed; display: none; padding: 5px 0; background: #111; width: 150px; + max-height: calc(100% - 80px); + overflow: auto; } #menubar .menu:hover .options { diff --git a/editor/css/light.css b/editor/css/light.css index 3eeb4b951f724447480ad7e94ea9e47227fc0ced..ac7b73b7e1a720e11345d6f55a5be44459dc30ad 100644 --- a/editor/css/light.css +++ b/editor/css/light.css @@ -106,11 +106,13 @@ select { } #menubar .menu .options { - position: absolute; + position: fixed; display: none; padding: 5px 0; background: #eee; width: 150px; + max-height: calc(100% - 80px); + overflow: auto; } #menubar .menu:hover .options {