mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +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:
@ -330,7 +330,7 @@ export class Range {
|
||||
return {
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
'in-item': hostContext('.item', this.el),
|
||||
'in-item': hostContext('ion-item', this.el),
|
||||
'range-disabled': this.disabled,
|
||||
'range-pressed': this.pressedKnob !== undefined,
|
||||
'range-has-pin': this.pin
|
||||
|
Reference in New Issue
Block a user