mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(item): update hostContext to use ion-item element
fixes styling issues with children elements using the .in-item class
This commit is contained in:
@ -175,7 +175,7 @@ export class Toggle {
|
||||
return {
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
'in-item': hostContext('.item', this.el),
|
||||
'in-item': hostContext('ion-item', this.el),
|
||||
'toggle-activated': this.activated,
|
||||
'toggle-checked': this.checked,
|
||||
'toggle-disabled': this.disabled,
|
||||
|
Reference in New Issue
Block a user