Skip to content

Commit

Permalink
fix switch android style
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud committed May 4, 2017
1 parent bf64803 commit 56bf4a9
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions components/switch/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,18 @@
}
}
&&-android {
margin-right: @v-spacing-sm;
.checkbox {
width: 210px;
height: 66px;
border-radius: 10px;
background: #A7AAA6;
width: 140px;
height: 44px;
border-radius: @radius-sm;
background: @brand-primary;
&:before {
display: none;
}
&:after {
width: 102px;
height: 60px;
border-radius: 7px;
width: 67px;
height: 38px;
border-radius: @radius-xs;
box-shadow: none;
}
}
Expand All @@ -105,7 +104,7 @@
.transform(scale(0));
}
&:after {
.transform(translateX(102px));
.transform(translateX(67px));
}
}
}
Expand Down

0 comments on commit 56bf4a9

Please sign in to comment.