Skip to content

Commit

Permalink
Refactor height calculation in _snippets.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ohitstom committed Jun 3, 2024
1 parent bf660e5 commit 42805eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Comfy/assets/_snippets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,7 @@
min-width: fit-content;
box-shadow: 0 2px 4px rgba(var(--spice-rgb-shadow), 0.1);
justify-content: space-evenly !important;
min-height: calc(128px + (100vw - var(--comfy-left-sidebar-width, 0px) - var(--comfy-panel-width, 0px) - 600px) / 424* 104 + 48px);
max-height: calc(250px - 64px);
height: calc(clamp(128px, 128px + (100vw - var(--comfy-left-sidebar-width, 0px) - var(--comfy-panel-width, 0px) - 600px)/424*104, 232px) + 48px);
}

.main-entityHeader-imageContainerNew+.main-entityHeader-headerText {
Expand Down

0 comments on commit 42805eb

Please sign in to comment.