fix(segment): add activated class directly to segment button (#20400)

this gets around a bug with Safari where the ::slotted css selector was not working properly
This commit is contained in:
Brandy Carney
2020-02-07 12:13:09 -05:00
committed by GitHub
parent fd1b44a40b
commit e8886e98f1
4 changed files with 23 additions and 13 deletions

View File

@ -140,6 +140,10 @@
// Segment: States
// --------------------------------------------------
:host(.segment-button-activated) {
--indicator-transform: scale(0.95);
}
:host(.ion-focused) .button-native {
opacity: $segment-button-ios-opacity-focused;
}