Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions packages/design-system/src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,10 @@ button.comfy-queue-btn {

@media only screen and (max-height: 850px) {
.comfy-menu {
inset: 0 0 0 auto !important;
top: 0 !important;
bottom: 0 !important;
left: auto !important;
right: 0 !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The importants still make me sad

border-radius: 0;
}

Expand Down Expand Up @@ -809,7 +812,10 @@ dialog::backdrop {
}

.comfy-dialog.comfyui-dialog.comfy-modal {
inset: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
transform: none;
}

Expand All @@ -821,7 +827,8 @@ dialog::backdrop {
}

.comfy-dialog .comfy-modal-content {
flex-flow: row wrap;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
color: var(--fg-color);
}
Expand Down Expand Up @@ -893,7 +900,8 @@ dialog::backdrop {
overflow: hidden;
display: flex;
flex-wrap: wrap;
place-content: flex-start center;
align-content: flex-start;
justify-content: center;
}

.comfy-img-preview img {
Expand Down
5 changes: 4 additions & 1 deletion src/components/sidebar/SidebarHelpCenterIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ onMounted(async () => {
<style scoped>
.help-center-backdrop {
position: absolute;
inset: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
background: transparent;
}
Expand Down
5 changes: 4 additions & 1 deletion src/scripts/ui/menu/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
/* Popup */
.comfyui-popup {
position: absolute;
inset: var(--top) var(--right) var(--bottom) var(--left);
top: var(--top);
right: var(--right);
bottom: var(--bottom);
left: var(--left);
z-index: 2000;
max-height: calc(100vh - var(--limit) - 10px);
box-shadow: 3px 3px 5px 0 rgb(0 0 0 / 0.3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ const formattedLatestVersionDate = computed(() => {
.selected-card::after {
content: '';
position: absolute;
inset: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 4px solid var(--p-primary-color);
border-radius: 0.5rem;
pointer-events: none;
Expand Down