From f695c9c8a828c53337f559e3d47220774468fefe Mon Sep 17 00:00:00 2001 From: Jackie Luo Date: Tue, 15 Mar 2016 11:09:09 -0700 Subject: [PATCH] :art:(plugins): Fixes switch alignment issue in #1743 --- static/components/switch.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/static/components/switch.less b/static/components/switch.less index cdbba8873..964904c91 100644 --- a/static/components/switch.less +++ b/static/components/switch.less @@ -5,13 +5,14 @@ box-shadow: inset 0 1px 1.5px rgba(0,0,0,0.3); background-color: @gray-light; position: relative; - display:inline-block; - height:21px; - width:40px; + display: inline-block; + vertical-align: middle; + height: 21px; + width: 40px; .handle { - border-radius:14px; - width:25px; + border-radius: 14px; + width: 25px; height: 25px; position: absolute; top: -2px;