mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
fix(segment): add styles for in a color toolbar
This commit is contained in:
@ -81,7 +81,8 @@ export class Segment {
|
||||
...createColorClasses(this.color),
|
||||
|
||||
'segment-disabled': this.disabled,
|
||||
'in-toolbar': hostContext('ion-toolbar', this.el)
|
||||
'in-toolbar': hostContext('ion-toolbar', this.el),
|
||||
'in-color-toolbar': hostContext('ion-toolbar.ion-color', this.el)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user