From 36872bfa21cd4f7002de42feaf413bb23da21161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Hayrio=C4=9Flu?= Date: Tue, 26 Dec 2023 16:14:11 +0300 Subject: [PATCH] fix(select): Using label and placeholder on non label-fixed select breaks input styling --- src/components/select/bl-select.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/select/bl-select.css b/src/components/select/bl-select.css index 6a7621fa..5075771a 100644 --- a/src/components/select/bl-select.css +++ b/src/components/select/bl-select.css @@ -263,8 +263,8 @@ legend span { visibility: visible; } -:where(.selected) .label, -:host(:not([placeholder]).select-open) .label { +:host([placeholder]) :where(.select-open, .selected) .label, +:host(:not([placeholder])) .selected .label { display: none; }