Skip to content

Commit 3b69656

Browse files
committed
fix(Autocomplete, DatePicker, DateRangePicker, MultiSelect, PasswordInput): set proper component width when used inside input groups
1 parent 1d2af84 commit 3b69656

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scss/forms/_input-group.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
align-items: stretch;
1616
width: 100%;
1717

18+
> .autocomplete,
19+
> .date-picker,
20+
> .time-picker,
1821
> .form-control,
22+
> .form-multi-select,
23+
> .form-password,
1924
> .form-select,
2025
> .form-floating {
2126
position: relative; // For focus state's z-index
@@ -149,7 +154,7 @@
149154
> .autocomplete:not(:first-child) > .autocomplete-input-group,
150155
> .date-picker:not(:first-child) > .date-picker-input-group,
151156
> .time-picker:not(:first-child) > .time-picker-input-group,
152-
> .form-multi-select:not(:first-child) > .form-multi-select .form-multi-select-input-group,
157+
> .form-multi-select:not(:first-child) + .form-multi-select > .form-multi-select-input-group,
153158
> .form-floating:not(:first-child) > .form-control,
154159
> .form-floating:not(:first-child) > .form-select,
155160
> .form-password:not(:first-child) > .form-control {

0 commit comments

Comments
 (0)