mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +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:
@ -325,7 +325,7 @@ export class Input {
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
|
||||
'in-item': hostContext('.item', this.el),
|
||||
'in-item': hostContext('ion-item', this.el),
|
||||
'has-value': this.hasValue(),
|
||||
'has-focus': this.hasFocus
|
||||
}
|
||||
|
Reference in New Issue
Block a user