refactor(segment): fixed border width with more than 3 buttons

Added another toolbar with 3 segments for testing and in order to fix
the width on iOS, references #356
This commit is contained in:
Brandy Carney
2015-10-27 17:47:55 -04:00
parent 1fcd2e3db1
commit c98867493a
4 changed files with 27 additions and 1 deletions

View File

@ -46,11 +46,14 @@ $segment-button-ios-hover-opacity: 0.16 !default;
}
&:first-of-type {
border-right-width: 0px;
border-radius: $button-border-radius 0px 0px $button-border-radius;
margin-right: 0;
}
&:not(:first-of-type) {
border-left-width: 0px;
}
&:last-of-type {
border-left-width: 0px;
border-radius: 0px $button-border-radius $button-border-radius 0px;