From c4b323902d891ce4b45e75a50c2437fa87b478a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz?= Date: Tue, 3 Nov 2020 12:39:51 +0100 Subject: [PATCH] Change .selectr-selected item alignment If anyone changes the font size then they will have vertical elements centered. Before: ``` =============== (item) (item) (item) =============== ``` After: ``` =============== (item) (item) (item) ============== ``` --- src/selectr.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/selectr.css b/src/selectr.css index 7f437fd..65dec71 100644 --- a/src/selectr.css +++ b/src/selectr.css @@ -31,6 +31,9 @@ border: 1px solid #999; border-radius: 3px; background-color: #fff; + display: flex; + flex-direction: row; + align-items: center; } .selectr-selected::before { @@ -402,4 +405,4 @@ *::placeholder { color: #6c7a86; opacity: 1; -} \ No newline at end of file +}