mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(item): prevent slotted form controls from taking whole width of item (#26897)
This commit is contained in:
@ -42,6 +42,11 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:host(.in-item[slot="start"]:not(.legacy-checkbox)),
|
||||
:host(.in-item[slot="end"]:not(.legacy-checkbox)) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
// TODO(FW-3100): remove this
|
||||
:host(.legacy-checkbox) {
|
||||
width: var(--size);
|
||||
|
Reference in New Issue
Block a user