kopia lustrzana https://github.com/shoelace-style/shoelace
Fix placeholder color in sl-select (#1667)
* fix placeholder color in sl-select * add issue numberpull/1663/head^2
rodzic
a5404ecab0
commit
b1b54a5a34
|
@ -16,6 +16,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
|||
|
||||
- Added the Croatian translation [#1656]
|
||||
- Fixed a bug that caused the [[Escape]] key to stop propagating when tooltips are disabled [#1607]
|
||||
- Fixed a bug that made it impossible to style placeholders in `<sl-select>` [#1667]
|
||||
|
||||
## 2.10.0
|
||||
|
||||
|
|
|
@ -67,6 +67,10 @@ export default css`
|
|||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.select__display-input::placeholder {
|
||||
color: var(--sl-input-placeholder-color);
|
||||
}
|
||||
|
||||
.select:not(.select--disabled):hover .select__display-input {
|
||||
color: var(--sl-input-color-hover);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue