Skip to content

Commit b3f8a24

Browse files
Fix blank Home layout by stabilizing top container grid rows (#250)
1 parent e395f52 commit b3f8a24

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Comfy/app.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363
&:not(:has(.global-nav)) .Root__top-container {
6464
padding-top: max(calc(var(--comfy-topbar-height, 40px) / var(--zoom, 1)), 8px) !important;
6565
}
66-
66+
6767
.global-nav .Root__top-container {
68-
grid-template-rows: calc(var(--comfy-topbar-height, 64px) / var(--zoom, 1) - 16px) 0px 1fr;
68+
grid-template-rows: max(48px, calc(var(--comfy-topbar-height, 64px) / var(--zoom, 1) - 16px)) minmax(0, 1fr) auto;
6969
}
7070

7171
&.spotify__container--is-desktop.spotify__os--is-windows:not(.fullscreen) {
@@ -252,4 +252,4 @@
252252
}
253253
}
254254
}
255-
}
255+
}

0 commit comments

Comments
 (0)