fix: search box is misaligned when the browser preferred font size is other than 16px (#1613)

pull/1615/head^2
niubility000 2021-10-20 00:34:17 +08:00 committed by GitHub
parent ddd4ffa4ca
commit 6f345be3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ header .menu-button {
#search #input { #search #input {
background-color: #f5f5f5; background-color: #f5f5f5;
display: flex; display: flex;
padding: 0.75em; height: 100%;
padding: 0em 0.75em;
border-radius: 0.3em; border-radius: 0.3em;
transition: .1s ease all; transition: .1s ease all;
align-items: center; align-items: center;