mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Merge pull request #5995 from roblouie/patch-1
fix(segment): display activated style outside toolbar
This commit is contained in:
@ -39,6 +39,10 @@ ion-segment {
|
||||
color: $segment-button-wp-text-color-activated;
|
||||
background-color: $segment-button-wp-background-color;
|
||||
opacity: $segment-button-wp-opacity;
|
||||
|
||||
&.segment-activated {
|
||||
opacity: $segment-button-wp-opacity-activated;
|
||||
}
|
||||
|
||||
ion-icon {
|
||||
font-size: $segment-button-wp-icon-size;
|
||||
@ -51,12 +55,6 @@ ion-segment {
|
||||
ion-segment {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.segment-button.activated,
|
||||
.segment-button.segment-activated {
|
||||
opacity: $segment-button-wp-opacity-activated;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user