Skip to content

Commit 229a63c

Browse files
committed
Add :focus styling
1 parent 83f9b01 commit 229a63c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/plugins/search/component.js

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ function style() {
3535
padding: 0 7px;
3636
line-height: 36px;
3737
font-size: 14px;
38+
border: 1px solid transparent;
39+
}
40+
41+
.search input:focus {
42+
box-shadow: 0 0 5px var(--theme-color, #42b983);
43+
border: 1px solid var(--theme-color, #42b983);
3844
}
3945
4046
.search input::-webkit-search-decoration,

0 commit comments

Comments
 (0)