projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd5651
)
Adwaita: Tweak padding in checkbutton & radiobutton
author
nana-4
<hnmaigo@gmail.com>
Mon, 18 May 2020 11:00:11 +0000
(20:00 +0900)
committer
nana-4
<hnmaigo@gmail.com>
Mon, 18 May 2020 11:29:23 +0000
(20:29 +0900)
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
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index ab39887d496bed45969dd467da4577c2360c2faa..66e4e22b9846b74343d6bdb35822bdbb537f7908 100644
(file)
--- 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;