Cap gallery size on canvas tab so it doesnt overflow

This commit is contained in:
blessedcoolant 2022-11-21 16:42:31 +13:00
parent d9c7a28c90
commit a1d80fd106
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ const GALLERY_TAB_WIDTHS: Record<
> = {
txt2img: { galleryMinWidth: 200, galleryMaxWidth: 500 },
img2img: { galleryMinWidth: 200, galleryMaxWidth: 500 },
unifiedCanvas: { galleryMinWidth: 200, galleryMaxWidth: 500 },
unifiedCanvas: { galleryMinWidth: 200, galleryMaxWidth: 200 },
nodes: { galleryMinWidth: 200, galleryMaxWidth: 500 },
postprocess: { galleryMinWidth: 200, galleryMaxWidth: 500 },
};

View File

@ -51,5 +51,5 @@
padding-left: 0.75rem;
padding-right: 0.75rem;
background-color: var(--background-color) !important;
filter: drop-shadow(0.5rem 0px 1rem var(--floating-button-drop-shadow-color));
// filter: drop-shadow(0.5rem 0px 1rem var(--floating-button-drop-shadow-color));
}