fix select padding; fixes #2194

This commit is contained in:
Cory LaViska
2024-10-01 14:13:31 -04:00
parent 761e06220a
commit 26ed686faa
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
## Next
- Fixed a bug in `<sl-relative-time>` where the title attribute would show with redundant info [#2184]
- Fixed a bug in `<sl-select>` that caused multi-selects without placeholders to have the wrong padding [#2194]
## 2.17.1

View File

@@ -209,7 +209,7 @@ export default css`
margin-inline-start: var(--sl-input-spacing-medium);
}
.select--medium.select--multiple:not(.select--placeholder-visible) .select__combobox {
.select--medium.select--multiple .select__combobox {
padding-inline-start: 0;
padding-block: 3px;
}
@@ -238,7 +238,7 @@ export default css`
margin-inline-start: var(--sl-input-spacing-large);
}
.select--large.select--multiple:not(.select--placeholder-visible) .select__combobox {
.select--large.select--multiple .select__combobox {
padding-inline-start: 0;
padding-block: 4px;
}