浏览代码

feat: add box-shadow to toast

Sv443 7 月之前
父节点
当前提交
acd258ef39
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      dist/BetterYTM.css
  2. 2 0
      src/components/toast.css

+ 2 - 0
dist/BetterYTM.css

@@ -733,6 +733,8 @@ body .bytm-ripple.slower {
   transition:
     opacity var(--bytm-toast-transition-time) ease,
     transform var(--bytm-toast-transition-time) ease;
+
+  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
 }
 
 #bytm-toast.clickable {

+ 2 - 0
src/components/toast.css

@@ -22,6 +22,8 @@
   transition:
     opacity var(--bytm-toast-transition-time) ease,
     transform var(--bytm-toast-transition-time) ease;
+
+  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
 }
 
 #bytm-toast.clickable {