mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +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:
@ -120,7 +120,7 @@ export class Checkbox {
|
||||
return {
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
'in-item': hostContext('.item', this.el),
|
||||
'in-item': hostContext('ion-item', this.el),
|
||||
'checkbox-checked': this.checked,
|
||||
'checkbox-disabled': this.disabled,
|
||||
'checkbox-key': this.keyFocus,
|
||||
|
Reference in New Issue
Block a user