From 3be320f526f287e3dc353afbfced7422d3fb5266 Mon Sep 17 00:00:00 2001 From: Khurshid Alam Date: Mon, 30 Jan 2017 22:09:37 +0530 Subject: [PATCH] [Gtk-3.22] Normalize Switches. Fixes #396 --- src/gtk-3.20/scss/widgets/_toggle.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gtk-3.20/scss/widgets/_toggle.scss b/src/gtk-3.20/scss/widgets/_toggle.scss index ce98652..3a3b2bf 100644 --- a/src/gtk-3.20/scss/widgets/_toggle.scss +++ b/src/gtk-3.20/scss/widgets/_toggle.scss @@ -105,12 +105,12 @@ $suffix: if($variant == "dark", "-dark", ""); @include exports("switch") { switch { border-radius: $roundness; - padding: $spacing - 1px; + padding: $spacing - 2px; border: none; outline: none; transition: background-color .3s linear; - min-width: 88px; - min-height: 24px; + min-width: 48px; + min-height: 16px; background-color: $switch_bg_color; color: $switch_fg_color; box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06);