fix(item): prevent slotted form controls from taking whole width of item (#26897)

This commit is contained in:
Amanda Johnston
2023-03-06 11:34:52 -06:00
committed by GitHub
parent 7bc22f2bbf
commit 78f5d960cf
36 changed files with 130 additions and 16 deletions

View File

@ -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);