Просмотр исходного кода

Merge pull request #23394 from overleaf/jel-bs5-notification-close

[web] Use RGB to fix close button hover effect

GitOrigin-RevId: 9c636fdcf509b76a3a7fbad365e24f6adb75f8ee
Jessica Lawshe 1 год назад
Родитель
Сommit
670c691196

+ 2 - 2
services/web/frontend/stylesheets/bootstrap-5/components/notifications.scss

@@ -40,7 +40,7 @@
 
     &:hover,
     &:focus {
-      background-color: rgb(var(--neutral-90) 0.08);
+      background-color: rgba($neutral-90, 0.08);
       color: var(--content-secondary);
     }
   }
@@ -124,7 +124,7 @@
 
       &:hover,
       &:focus {
-        background-color: rgb(var(--neutral-90) 0.08);
+        background-color: rgba($neutral-90, 0.08);
         color: var(--content-secondary);
       }
     }