Skip to content

Commit b6d1992

Browse files
authored
perf: CJK characters of the "Search Cancel" button will wrap (#1105)
1 parent 74ab6f8 commit b6d1992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_sass/addon/commons.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,9 @@ $btn-mb: 0.5rem;
957957
/* 'Cancel' link */
958958
#search-cancel {
959959
color: var(--link-color);
960-
margin-left: 1rem;
960+
margin-left: 0.75rem;
961961
display: none;
962+
white-space: nowrap;
962963

963964
@extend %cursor-pointer;
964965
}

0 commit comments

Comments
 (0)