From 048258d2d1d385e89c50bc872fd46f2a92124019 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 7 Dec 2025 20:59:41 +0200 Subject: [PATCH] feat(toast): improve button layout --- apps/client/src/widgets/Toast.css | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/apps/client/src/widgets/Toast.css b/apps/client/src/widgets/Toast.css index 457aadce2..519e3b62d 100644 --- a/apps/client/src/widgets/Toast.css +++ b/apps/client/src/widgets/Toast.css @@ -48,12 +48,22 @@ background-color: unset !important; } -.toast .toast-progress { - position: absolute; - bottom: 0; - inset-inline-start: 0; - inset-inline-end: 0; - background-color: var(--toast-text-color) !important; - height: 4px; - transition: width 0.1s linear; +.toast { + .toast-buttons { + padding: 0 1em 1em 1em; + display: flex; + gap: 1em; + justify-content: space-between; + } + + .toast-progress { + position: absolute; + bottom: 0; + inset-inline-start: 0; + inset-inline-end: 0; + background-color: var(--toast-text-color) !important; + height: 4px; + transition: width 0.1s linear; + } } +