From f62505a77f348e631a725589ac4b091ad0abbe1e Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Fri, 20 May 2016 15:39:08 +0200 Subject: Adwaita: add vertical margins to switches on a headerbar See https://bugzilla.gnome.org/show_bug.cgi?id=766642 --- gtk/theme/Adwaita/_common.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gtk/theme/Adwaita/_common.scss') diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 8508749133..431456be58 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1512,7 +1512,7 @@ headerbar { } headerbar { - // add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height + // add vertical margins to common widget on the headerbar to avoid them spanning the whole height entry, spinbutton, separator, @@ -1520,6 +1520,10 @@ headerbar { margin-top: 6px; margin-bottom: 6px; } + switch { + margin-top: 9px; + margin-bottom: 9px; + } } .background:not(.tiled):not(.maximized) .titlebar { -- cgit v1.2.1