Skip to content

Commit a6a984e

Browse files
authored
Correct search bar's focus border radius (#1892)
There was a gap between the nested borders.
1 parent 70613c4 commit a6a984e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/css/search-bar.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
.top-search .search-bar .search-input {
2727
background-color: var(--searchSearch);
28-
border: 1px solid transparent;
28+
border: none;
2929
border-radius: 8px;
3030
color: var(--searchAccentMain);
3131
position: relative;
@@ -40,8 +40,8 @@
4040
}
4141

4242
.top-search .search-bar .search-input:focus {
43-
border-color: var(--searchBarFocusColor);
44-
border-radius: 8px;
43+
border: 1px solid var(--searchBarFocusColor);
44+
border-radius: 7px;
4545
position: relative;
4646
box-shadow: 0px 4px 20px 0px var(--searchBarBorderColor) inset;
4747
}

0 commit comments

Comments
 (0)