From f9fa33024d366438e67701f3a38a0a7f293a1617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 16 Mar 2026 18:24:02 +0100 Subject: [PATCH] nicolium: fix toast animation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/nicolium/src/styles/new/layout.scss | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/packages/nicolium/src/styles/new/layout.scss b/packages/nicolium/src/styles/new/layout.scss index b9de520fe..842dca8af 100644 --- a/packages/nicolium/src/styles/new/layout.scss +++ b/packages/nicolium/src/styles/new/layout.scss @@ -1096,10 +1096,34 @@ body { &--visible { animation: enter 200ms ease-out; + + @keyframes enter { + from { + transform: scale(0.9); + opacity: 0; + } + + to { + transform: scale(1); + opacity: 1; + } + } } &:not(&--visible) { animation: leave 150ms ease-in forwards; + + @keyframes leave { + from { + transform: scale(1); + opacity: 1; + } + + to { + transform: scale(0.9); + opacity: 0; + } + } } > div {