Преглед изворни кода

Merge pull request #20707 from overleaf/ii-bs3-btn-group

[web] BS3 button group colours fix

GitOrigin-RevId: 6986336d04b9e5f30531a9bc2836444e7b12907f
ilkin-overleaf пре 1 година
родитељ
комит
8c4c118da9
1 измењених фајлова са 11 додато и 9 уклоњено
  1. 11 9
      services/web/frontend/stylesheets/components/button-groups.less

+ 11 - 9
services/web/frontend/stylesheets/components/button-groups.less

@@ -26,16 +26,18 @@
 }
 }
 
 
 .btn-group {
 .btn-group {
-  .btn.active {
-    background-color: @neutral-20;
-  }
+  label {
+    &.btn.active {
+      background-color: @neutral-20;
+    }
 
 
-  .btn[disabled] {
-    cursor: not-allowed;
-    background-color: @neutral-20;
-    border-color: @neutral-20;
-    opacity: 1;
-    color: @neutral-90;
+    &.btn[disabled] {
+      cursor: not-allowed;
+      background-color: @neutral-20;
+      border-color: @neutral-20;
+      opacity: 1;
+      color: @neutral-90;
+    }
   }
   }
 }
 }