fix(core): cmdk unexpected highlighting style (#7538)

close PD-1428

https://github.com/user-attachments/assets/6bb02547-6030-474d-ada0-c5a49be309d6
This commit is contained in:
JimmFly 2024-07-19 05:38:33 +00:00
parent af7d44164c
commit 4512a1a91d
No known key found for this signature in database
GPG Key ID: 126E0320FEB0D05C

View File

@ -2,7 +2,7 @@ import { cssVar } from '@toeverything/theme';
import { style } from '@vanilla-extract/css';
export const highlightText = style({
whiteSpace: 'pre',
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
});