Skip to content

Commit 2c4944f

Browse files
authored
fix(theme): hide native search input cancel button (#4723)
1 parent 2c5fea5 commit 2c4944f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/client/theme-default/components/VPLocalSearchBox.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,10 @@ function onMouseMove(e: MouseEvent) {
663663
width: 100%;
664664
}
665665
666+
.search-input::-webkit-search-cancel-button {
667+
display: none;
668+
}
669+
666670
@media (max-width: 767px) {
667671
.search-input {
668672
padding: 6px 4px;

0 commit comments

Comments
 (0)