mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user