mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-21 11:11:26 -03:00
fix(ui): restore equal-width toasts in toast container
Commit 86aa1d80 added align-items: flex-end to .toast-container and
dropped the .toast min-width to 200px. With flex-end alignment each
toast now shrinks to its own content width, so toasts of different
message lengths render at inconsistent widths. Drop the align-items
override so the container falls back to stretch, giving every toast a
single shared width as before the change.
This commit is contained in:
@@ -174,7 +174,7 @@
|
|||||||
z-index: var(--z-toast);
|
z-index: var(--z-toast);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
/* No align-items (defaults to stretch) so every toast shares one equal width */
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding: 8px 20px 0; /* Small breathing room below the header */
|
padding: 8px 20px 0; /* Small breathing room below the header */
|
||||||
pointer-events: none; /* Allow clicking through the container */
|
pointer-events: none; /* Allow clicking through the container */
|
||||||
|
|||||||
Reference in New Issue
Block a user