Fix sl-input[type="date|time"] placeholder on macOS Safari (#1341)

Allowing the background to inherit rather than removing it allows the weird date and time placeholder text opacity to work on macOS Safari.
This commit is contained in:
Brendon Muir
2023-06-13 04:09:20 +12:00
committed by GitHub
parent efb0ee9c48
commit bd3b2c93ee

View File

@@ -95,7 +95,7 @@ export default css`
height: 100%;
color: var(--sl-input-color);
border: none;
background: none;
background: inherit;
box-shadow: none;
padding: 0;
margin: 0;