mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
Enhance context menu scrolling behavior (#414)
This commit is contained in:
@@ -24,6 +24,16 @@
|
||||
box-shadow: 0 0 10px black !important;
|
||||
background-color: #2e2e2e !important;
|
||||
z-index: 10;
|
||||
max-height: -webkit-fill-available;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Enable scrolling overflow in Firefox */
|
||||
@supports not (max-height: -webkit-fill-available) {
|
||||
.litegraph.litecontextmenu {
|
||||
max-height: 80vh;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
.litegraph.litecontextmenu.dark {
|
||||
|
||||
Reference in New Issue
Block a user