From e705d49dfa7243432dba8a559d4a7d15f9716662 Mon Sep 17 00:00:00 2001 From: Kavindu Santhusa <63494497+Ksengine@users.noreply.github.com> Date: Tue, 23 Feb 2021 15:19:14 +0530 Subject: [PATCH] Select Height Fixed select not supports padding. so added height. --- new.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/new.css b/new.css index 61cc227..f3a7709 100644 --- a/new.css +++ b/new.css @@ -442,6 +442,15 @@ input { box-sizing: border-box; } +/* padding is not working for select. + so height = padding-x + font-size +*/ +select { + height: 28.48px; /* for old browsers */ + height: 1.78rem; + height: calc(1.03rem+12px); /* for new browsers */ +} + img { max-width: 100%; -} \ No newline at end of file +}