From bd3b2c93eef14db84809d3f0a2263c1faf284cbc Mon Sep 17 00:00:00 2001 From: Brendon Muir Date: Tue, 13 Jun 2023 04:09:20 +1200 Subject: [PATCH] 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. --- src/components/input/input.styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/input.styles.ts b/src/components/input/input.styles.ts index 8a02483e..4dc162cc 100644 --- a/src/components/input/input.styles.ts +++ b/src/components/input/input.styles.ts @@ -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;