From 956a2c91fa26547f2bc5e0c468383b22639ded81 Mon Sep 17 00:00:00 2001 From: Smyile <84925446+xsmyile@users.noreply.github.com> Date: Wed, 24 Jun 2026 11:04:48 +0200 Subject: [PATCH] fix(ui): stop divider flicker on dialog open --- ui/src/components/Modal.tsx | 2 +- ui/src/index.css | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/components/Modal.tsx b/ui/src/components/Modal.tsx index 7133b71..f4c8aa0 100644 --- a/ui/src/components/Modal.tsx +++ b/ui/src/components/Modal.tsx @@ -28,7 +28,7 @@ export default function Modal(props: ModalProps) { onClick={() => props.onClose()} />
{props.children}
diff --git a/ui/src/index.css b/ui/src/index.css index fb2cfc7..9c9ef1c 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -49,22 +49,22 @@ } } -@keyframes scale-in { +@keyframes pop-in { from { opacity: 0; - transform: scale(0.95); + transform: translateY(8px); } to { opacity: 1; - transform: scale(1); + transform: translateY(0); } } .animate-fade-in { animation: fade-in 0.15s ease-out; } -.animate-scale-in { - animation: scale-in 0.15s ease-out; +.animate-pop-in { + animation: pop-in 0.15s ease-out; } .btn-destructive {