From db0e2a162e27a67598b7827eb6a550253419d46d Mon Sep 17 00:00:00 2001 From: maks feltrin Date: Fri, 6 Jun 2014 16:16:55 +0200 Subject: [PATCH] center and v-align inside the paddle useful if you put an icon (font) in the paddle --- scss/foundation/components/_switch.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scss/foundation/components/_switch.scss b/scss/foundation/components/_switch.scss index 148ce3500..1f57f06e7 100644 --- a/scss/foundation/components/_switch.scss +++ b/scss/foundation/components/_switch.scss @@ -179,6 +179,8 @@ $switch-label-outline: 1px dotted #888 !default; span:last-child { width: rem-calc($height); height: rem-calc($height); + line-height: rem-calc($height); + text-align: center; } } -- 2.47.2