mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-21 22:47:00 +08:00
fix zindex on hover
This commit is contained in:
parent
2ec11cb3b0
commit
ad355c601d
@ -26,7 +26,7 @@ export class ComfySplitButton {
|
|||||||
this.popup = new ComfyPopup({
|
this.popup = new ComfyPopup({
|
||||||
target: this.element,
|
target: this.element,
|
||||||
container: position === "relative" ? this.element : document.body,
|
container: position === "relative" ? this.element : document.body,
|
||||||
classList: "comfyui-split-button-popup",
|
classList: "comfyui-split-button-popup" + (mode === "hover" ? " hover" : ""),
|
||||||
closeOnEscape: mode === "click",
|
closeOnEscape: mode === "click",
|
||||||
position,
|
position,
|
||||||
horizontal,
|
horizontal,
|
||||||
|
|||||||
@ -89,6 +89,9 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comfyui-split-button-popup.hover {
|
||||||
|
z-index: 2001;
|
||||||
|
}
|
||||||
.comfyui-split-button-popup > .comfyui-button {
|
.comfyui-split-button-popup > .comfyui-button {
|
||||||
border: none;
|
border: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -243,6 +246,7 @@
|
|||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
border-bottom-right-radius: 4px;
|
border-bottom-right-radius: 4px;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
|
z-index: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comfyui-workflows-panel {
|
.comfyui-workflows-panel {
|
||||||
@ -310,6 +314,10 @@
|
|||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comfyui-workflows-open li:first-of-type {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.comfyui-workflows-favorites:empty {
|
.comfyui-workflows-favorites:empty {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user