Skip to content

Commit

Permalink
✨ 优化搜索框 #258
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Apr 14, 2023
1 parent 4779b4d commit 561c2ea
Show file tree
Hide file tree
Showing 5 changed files with 4,575 additions and 21 deletions.
7 changes: 3 additions & 4 deletions assets/dist/js/libs.min.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions assets/dist/style/libs.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/style/style.min.css

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions assets/style/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1500,16 +1500,19 @@ a:hover {
}

.search-layout {
& > div {
display: inline-block;
}
display: flex;

.search-input {
width: 70%;
flex: 1;
input{
border-radius: 6px;
}
}

.search-start {
width: ~"calc(100% - 75%)";
margin-left: 10px;
width: 100px;
flex-shrink: 0;
position: relative;
top: -2px;

Expand Down

0 comments on commit 561c2ea

Please sign in to comment.