[libadwaita/wip/exalm/borderless: 9/15] stylesheet: Make image buttons square




commit c2f2f8fd9fc3f84a37db1cf21666447017a3f21a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Jul 4 19:15:00 2021 +0500

    stylesheet: Make image buttons square
    
    They were made rectangular for 3.32, now that they are flat it doesn't make
    sense anymore. As far as I can tell, header bars were the only reason they
    were ever rectangular, so just revert that change.

 src/stylesheet/widgets/_buttons.scss | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index cb0028dc..d68c73ac 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -56,8 +56,8 @@ button {
 
     &.image-button {
       min-width: 24px;
-      padding-left: 6px;
-      padding-right: 6px;
+      padding-left: 5px;
+      padding-right: 5px;
     }
 
     &.text-button {
@@ -67,8 +67,8 @@ button {
 
     &.text-button.image-button,
     &.image-text-button {
-      padding-left: 10px;
-      padding-right: 10px;
+      padding-left: 9px;
+      padding-right: 9px;
 
       > box,
       > box > box {
@@ -82,8 +82,8 @@ button {
     }
 
     &.arrow-button {
-      padding-left: 10px;
-      padding-right: 10px;
+      padding-left: 9px;
+      padding-right: 9px;
 
       > box { border-spacing: 4px; }
 
@@ -421,8 +421,8 @@ splitbutton {
 
   &.text-button.image-button > button,
   &.image-text-button > button {
-    padding-left: 10px;
-    padding-right: 10px;
+    padding-left: 9px;
+    padding-right: 9px;
 
     > box {
       border-spacing: 6px;


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