Browse Source

feat: add box-shadow to toast

Sv443 7 months ago
parent
commit
1c2799dfca
2 changed files with 4 additions and 0 deletions
  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 {