[Style] Set fixed top menu bar height (#2209)

This commit is contained in:
Chenlei Hu
2025-01-09 14:14:14 -05:00
committed by GitHub
parent e8cd9c7642
commit 906b5e35a3
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
--bg-color: #fff;
--comfy-menu-bg: #353535;
--comfy-menu-secondary-bg: #292929;
--comfy-topbar-height: 2.421875rem;
--comfy-input-bg: #222;
--input-text: #ddd;
--descrip-text: #999;

View File

@@ -82,6 +82,7 @@ eventBus.on((event: string, payload: any) => {
<style scoped>
.comfyui-menu {
width: 100vw;
height: var(--comfy-topbar-height);
background: var(--comfy-menu-bg);
color: var(--fg-color);
box-shadow: var(--bar-shadow);
@@ -91,7 +92,6 @@ eventBus.on((event: string, payload: any) => {
z-index: 1000;
order: 0;
grid-column: 1/-1;
max-height: 90vh;
}
.comfyui-menu.dropzone {