From 4512a1a91d7f33e040844ce9b47c4021ec8651b1 Mon Sep 17 00:00:00 2001 From: JimmFly Date: Fri, 19 Jul 2024 05:38:33 +0000 Subject: [PATCH] fix(core): cmdk unexpected highlighting style (#7538) close PD-1428 https://github.com/user-attachments/assets/6bb02547-6030-474d-ada0-c5a49be309d6 --- .../core/src/modules/quicksearch/views/highlight-text.css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/quicksearch/views/highlight-text.css.ts b/packages/frontend/core/src/modules/quicksearch/views/highlight-text.css.ts index 3cba1f298d..264aa3cc03 100644 --- a/packages/frontend/core/src/modules/quicksearch/views/highlight-text.css.ts +++ b/packages/frontend/core/src/modules/quicksearch/views/highlight-text.css.ts @@ -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', });