mirror of https://gitlab.com/curben/blog
fix(css): center the search icon
This commit is contained in:
parent
5f473b6253
commit
b5d2790081
|
@ -840,7 +840,7 @@ pre .keyword {
|
|||
.searchBox {
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
height:100%;
|
||||
height:1.8em;
|
||||
width: 85%;
|
||||
padding-left: 0.2em;
|
||||
box-sizing: border-box;
|
||||
|
@ -864,7 +864,7 @@ input {
|
|||
.searchBtn {
|
||||
width: 10%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
top: 45%;
|
||||
transform: translate(30%, -50%);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue