Peach: Local-first video metadata scraper and media manager.
修复图片灯箱成功提示层级
longmeidao5703bf5becfb
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 33488b90a..519a4c8b3 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -1924,6 +1924,7 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("reveal.dataset.photoReveal=String(item.id)")self.assertPageContains("revealSource(Number(reveal.dataset.photoReveal),status,{toastSuccess:true,button:reveal})")self.assertPageContains("toast('已在资源管理器中显示')")+ self.assertPageContains(".toasts{position:fixed;right:16px;bottom:22px;z-index:var(--layer-popover)")self.assertPageContains("button.innerHTML=`${spinnerHtml('正在定位')}<span>${esc(label)}</span>`")self.assertPageContains("if(activeLightbox?.detail?.isOpen()){activeLightbox.detail.dismiss(true);return}")self.assertPageContains("if(returnFocus&&document.contains(toggle))toggle.focus()")diff --git a/web/app.css b/web/app.cssindex 3dcf419b8..c4d88fed0 100644--- a/web/app.css+++ b/web/app.css@@ -1201,7 +1201,7 @@ body.settings-open{overflow:hidden}vercel-geist-toast.md;量纲沿用本站实测 Geist 的那一套:8px 圆角、发丝边、比页面亮一档的表面。warn 态加一圈红边和图标,但失败的原因仍以页内持久行为准——toast 只负责提一句。 */-.toasts{position:fixed;right:16px;bottom:22px;z-index:190;display:grid;gap:8px;+.toasts{position:fixed;right:16px;bottom:22px;z-index:var(--layer-popover);display:grid;gap:8px;justify-items:end;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:9px;width:min(440px,calc(100vw - 32px));padding:11px 10px 11px 13px;