[gtk: 1/2] Adwaita: Tweak padding in checkbutton & radiobutton



commit 1c99dbc70ee90ba28b9bea0cb52f883ff0971df7
Author: nana-4 <hnmaigo gmail com>
Date:   Mon May 18 20:00:11 2020 +0900

    Adwaita: Tweak padding in checkbutton & radiobutton
    
    Since we can now use border-spacing in checkbutton and radiobutton,
    we don't need the margin in check and radio for spacing anymore.
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2697

 gtk/theme/Adwaita/_common.scss | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ab39887d49..66e4e22b98 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2397,16 +2397,12 @@ radiobutton {
 
   &.text-button {
     // this is for a nice focus on check and radios text
-    padding: 4px 2px;
+    padding: 4px;
   }
 }
 
 check,
 radio {
-  margin: 0 4px;
-
-  &:only-child { margin: 0; }
-
   min-height: 14px;
   min-width: 14px;
   border: 1px solid;


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