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 {
|
.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%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue