Skip to content

Commit

Permalink
Refactor min-height calculation in _snippets.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ohitstom committed Jun 2, 2024
1 parent 97a2951 commit ca6cac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Comfy/assets/_snippets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +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(--left-sidebar-width, 0px)* 1px - var(--panel-width, 0px)* 1px - 600px) / 424* 104 + 48px);
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);
}

Expand Down

0 comments on commit ca6cac3

Please sign in to comment.