通知提示框放宽至 340px,距侧边栏左右边缘各 20px

This commit is contained in:
gallery
2026-11-15 21:19:48 +08:00
parent 3eba04a8ae
commit 850df50e63
+2 -2
View File
@@ -10,8 +10,8 @@ const Container = styled.div`
position: fixed;
bottom: 20px;
right: 20px;
/* Narrower than the 380px sidebar, anchored to the bottom-right corner */
width: 330px;
/* Centered within the 380px sidebar: 20px inset on both left and right */
width: 340px;
/* Keep notifications above the sidebar (z-40) and modals (z-40) */
z-index: 50;