projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5269d13
)
Adwaita: add more space between check/radio and label in popovers
author
Lapo Calamandrei
<calamandrei@gmail.com>
Wed, 3 May 2017 15:39:21 +0000
(17:39 +0200)
committer
Lapo Calamandrei
<calamandrei@gmail.com>
Wed, 3 May 2017 15:45:44 +0000
(17:45 +0200)
See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index b435660d785b1485db4b6cfab84927d8be289356..afae24a8bf40421a9a5cc248ec537d9798063b79 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-2640,6
+2640,19
@@
radio {
&:only-child { margin: 0; }
+ popover & { // when in a popover add more space between the label and the check, reset the other side margin.
+ // See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
+ &.left:dir(rtl) {
+ margin-left: 0;
+ margin-right: 12px;
+ }
+
+ &.right:dir(ltr) {
+ margin-left: 12px;
+ margin-right: 0;
+ }
+ }
+
min-height: 14px;
min-width: 14px;
border: 1px solid;