]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
center and v-align inside the paddle 5278/head
authormaks feltrin <pine3ree@gmail.com>
Fri, 6 Jun 2014 14:16:55 +0000 (16:16 +0200)
committermaks feltrin <pine3ree@gmail.com>
Fri, 6 Jun 2014 14:16:55 +0000 (16:16 +0200)
useful if you put an icon (font) in the paddle

scss/foundation/components/_switch.scss

index 148ce3500ed515528a6f3d142979dd2c3a4a7e4b..1f57f06e7ea7b17799f9622ade42942dd304a2e8 100644 (file)
@@ -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;
   }
 
 }