feat: 增加清空搜索框的按钮 #18

This commit is contained in:
ZiuChen
2022-08-18 16:46:52 +08:00
parent d5f5d123d5
commit bc7d869a3b
2 changed files with 20 additions and 0 deletions

View File

@@ -18,4 +18,20 @@
color: @text-color-lighter;
}
}
.clip-search-suffix {
text-align: center;
position: absolute;
right: 20px;
top: 18px;
font-size: 13px;
padding: 2px;
width: 20px;
height: 20px;
background-color: @nav-bg-color;
border-radius: 20px;
cursor: pointer;
&:hover {
background-color: @nav-hover-bg-color;
}
}
}