[libadwaita/wip/exalm/tab-style: 1/2] stylesheet: Fix padding on tab bar actions




commit 601a9bdcfc3d0ac78e33e5ccce3cba3fe1851f8e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 7 22:00:44 2022 +0400

    stylesheet: Fix padding on tab bar actions
    
    The padding was changed from 3px to 5px and I forgot to update this part.
    
    Also remove the spacing between actions and tab bar - it's not necessary
    given tab boxes have the same 5px of padding.

 src/stylesheet/widgets/_tab-view.scss | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index af5b8a00..a7861f2e 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -56,7 +56,17 @@ tabbar {
 
   .start-action,
   .end-action {
-    padding: 3px;
+    padding: 5px;
+  }
+
+  .start-action:dir(ltr),
+  .end-action:dir(rtl) {
+    padding-right: 0;
+  }
+
+  .start-action:dir(rtl),
+  .end-action:dir(ltr) {
+    padding-left: 0;
   }
 
   &:not(.inline) {


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