[gtk+] Adwaita: add more space between check/radio and label in popovers
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: add more space between check/radio and label in popovers
- Date: Wed, 3 May 2017 15:45:16 +0000 (UTC)
commit 9be18363e771ac2046219ce171204057d8fab260
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed May 3 17:39:21 2017 +0200
Adwaita: add more space between check/radio and label in popovers
See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
gtk/theme/Adwaita/_common.scss | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index b07ff8e..31fdde7 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2623,6 +2623,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]