Skip to content

Commit 3be320f

Browse files
committed
[Gtk-3.22] Normalize Switches. Fixes #396
1 parent 1a8c9bf commit 3be320f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/gtk-3.20/scss/widgets/_toggle.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ $suffix: if($variant == "dark", "-dark", "");
105105
@include exports("switch") {
106106
switch {
107107
border-radius: $roundness;
108-
padding: $spacing - 1px;
108+
padding: $spacing - 2px;
109109
border: none;
110110
outline: none;
111111
transition: background-color .3s linear;
112-
min-width: 88px;
113-
min-height: 24px;
112+
min-width: 48px;
113+
min-height: 16px;
114114
background-color: $switch_bg_color;
115115
color: $switch_fg_color;
116116
box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06);

0 commit comments

Comments
 (0)