mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Segment love
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
ion-segment {
|
||||
ion-segment { display: block; }
|
||||
|
||||
.ion-segment {
|
||||
@include flex-display();
|
||||
@include flex(1);
|
||||
width: 100%;
|
||||
@ -27,10 +29,10 @@ ion-segment {
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
&:first-of-type {
|
||||
border-radius: $button-border-radius 0px 0px $button-border-radius;
|
||||
}
|
||||
&:last-child {
|
||||
&:last-of-type {
|
||||
border-right-width: 1px;
|
||||
border-radius: 0px $button-border-radius $button-border-radius 0px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user