Adjust style of toggle button to accommodate text that exceeds 42px

This commit is contained in:
gconsidine 2017-12-11 11:47:21 -05:00
parent 334d47f3ab
commit a2f64f1053
No known key found for this signature in database
GPG Key ID: CC78E4D5913BB71D

View File

@ -13,12 +13,10 @@
border-radius: 5px;
border: 1px solid @default-link;
background-color: @default-link;
width: 42px;
margin-top: 2px;
cursor: pointer;
display: flex;
height: 18px;
overflow: hidden;
display: inline-block;
min-width: 42px;
&.ScheduleToggle--disabled {
cursor: not-allowed;
@ -42,10 +40,11 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
padding-top: 0px;
margin-top: 0px;
border-top: 0px;
border-bottom: 0px;
border-right: 0px;
display: inline-block;
height: 22px;
}
.ScheduleToggle.is-on {