[libadwaita/wip/exalm/borderless-preparations: 7/10] stylesheet: Specificity bump for view switcher buttons




commit 4eda2eca483f12df18dc822b4b380d8475dc6424
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Jul 4 19:02:30 2021 +0500

    stylesheet: Specificity bump for view switcher buttons
    
    Allow them to be placed into action bars and toolbars with no broken
    margins in future.

 src/stylesheet/widgets/_view-switcher.scss | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_view-switcher.scss b/src/stylesheet/widgets/_view-switcher.scss
index 4c771697..2410836f 100644
--- a/src/stylesheet/widgets/_view-switcher.scss
+++ b/src/stylesheet/widgets/_view-switcher.scss
@@ -1,10 +1,10 @@
 viewswitcher {
-  &, & button {
+  &, & button.toggle {
     margin: 0;
     padding: 0;
   }
 
-  button {
+  button.toggle {
     border-radius: 0;
     border-top: none;
     border-bottom: none;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]