From 6f345be3e47ba57ecc1eb9a62587ab949078c125 Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Wed, 20 Oct 2021 00:34:17 +0800 Subject: [PATCH] fix: search box is misaligned when the browser preferred font size is other than 16px (#1613) --- frontend/src/css/header.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/css/header.css b/frontend/src/css/header.css index 3a623424..396f926b 100644 --- a/frontend/src/css/header.css +++ b/frontend/src/css/header.css @@ -84,7 +84,8 @@ header .menu-button { #search #input { background-color: #f5f5f5; display: flex; - padding: 0.75em; + height: 100%; + padding: 0em 0.75em; border-radius: 0.3em; transition: .1s ease all; align-items: center;