perf: CJK characters of the "Search Cancel" button will wrap (#1105)

This commit is contained in:
Javen Leung 2023-06-26 14:23:23 +08:00 committed by GitHub
parent 74ab6f8adc
commit b6d1992f85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -957,8 +957,9 @@ $btn-mb: 0.5rem;
/* 'Cancel' link */ /* 'Cancel' link */
#search-cancel { #search-cancel {
color: var(--link-color); color: var(--link-color);
margin-left: 1rem; margin-left: 0.75rem;
display: none; display: none;
white-space: nowrap;
@extend %cursor-pointer; @extend %cursor-pointer;
} }