fix(css): center the search icon

This commit is contained in:
curben 2019-08-30 19:40:29 +01:00
parent 5f473b6253
commit b5d2790081
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -840,7 +840,7 @@ pre .keyword {
.searchBox { .searchBox {
border: 0; border: 0;
border-radius: 5px; border-radius: 5px;
height:100%; height:1.8em;
width: 85%; width: 85%;
padding-left: 0.2em; padding-left: 0.2em;
box-sizing: border-box; box-sizing: border-box;
@ -864,7 +864,7 @@ input {
.searchBtn { .searchBtn {
width: 10%; width: 10%;
position: absolute; position: absolute;
top: 50%; top: 45%;
transform: translate(30%, -50%); transform: translate(30%, -50%);
} }