Skip to content

Commit 8299afd

Browse files
author
vikasrohit
committed
Display fix for AS#175328444802917, Style feature picker based on new designs
-- Fixed display of the SwitchButton. It was taking white space for the label even if label is not there.
1 parent fbd5628 commit 8299afd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/SwitchButton/SwitchButton.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
.SwitchButton {
44
position: relative;
5+
display: flex;
56
.label{
67
width: 92px;
78
line-height: 30px;
89
font-size: 12px;
910
@include roboto;
1011
color: $tc-gray-60;
11-
float: left;
1212
}
1313
label{
14-
float: left;
1514
margin: 0;
1615
padding: 0;
1716
display: block;
@@ -43,7 +42,6 @@
4342
margin: 0;
4443
padding: 0;
4544
background: $tc-gray-40;
46-
float: left;
4745
&:before {
4846
content: "";
4947
position: absolute;

0 commit comments

Comments
 (0)