mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(select-popover): add scoped to apply proper styles to list
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
@import "./select-popover.vars";
|
@import "./select-popover.vars";
|
||||||
|
|
||||||
:host ::slotted(ion-list) {
|
:host ion-list {
|
||||||
@include margin($select-popover-list-margin-top, $select-popover-list-margin-end, $select-popover-list-margin-bottom, $select-popover-list-margin-start);
|
@include margin($select-popover-list-margin-top, $select-popover-list-margin-end, $select-popover-list-margin-bottom, $select-popover-list-margin-start);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host ion-list-header,
|
||||||
|
:host ion-label {
|
||||||
|
@include margin(0);
|
||||||
|
}
|
||||||
|
@ -5,7 +5,8 @@ import { createThemedClasses } from '../../utils/theme';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-select-popover',
|
tag: 'ion-select-popover',
|
||||||
styleUrl: 'select-popover.scss'
|
styleUrl: 'select-popover.scss',
|
||||||
|
scoped: true
|
||||||
})
|
})
|
||||||
export class SelectPopover implements ComponentInterface {
|
export class SelectPopover implements ComponentInterface {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user