From 2783744e96e5374075810a324a3c8706eab564b9 Mon Sep 17 00:00:00 2001 From: cmliu Date: Wed, 29 Jul 2026 13:06:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=20toast=20=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E4=BD=8D=E7=BD=AE=E5=92=8C=E5=8A=A8=E7=94=BB=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/style.css b/frontend/src/style.css index 5cf7f9d..ca49110 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1513,8 +1513,8 @@ button:disabled { .toast-region { position: fixed; + top: calc(var(--topbar-height) + 12px); right: max(18px, env(safe-area-inset-right)); - bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; display: grid; width: min(340px, calc(100vw - 36px)); @@ -1683,7 +1683,7 @@ button:disabled { } @keyframes toast-in { - from { opacity: 0; transform: translateY(8px); } + from { opacity: 0; transform: translateY(-8px); } } @keyframes file-spin {