From fe47ab6063867374228486980a4ee8432a3c3eb2 Mon Sep 17 00:00:00 2001 From: JimmFly Date: Mon, 2 Jan 2023 00:21:04 +0800 Subject: [PATCH] fix: quick search shortcut style should no wrap (#648) --- packages/app/src/components/quick-search/style.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app/src/components/quick-search/style.ts b/packages/app/src/components/quick-search/style.ts index c37e85e23..492b7988c 100644 --- a/packages/app/src/components/quick-search/style.ts +++ b/packages/app/src/components/quick-search/style.ts @@ -73,7 +73,11 @@ export const StyledInputContent = styled('div')(({ theme }) => { }; }); export const StyledShortcut = styled('div')(({ theme }) => { - return { color: theme.colors.placeHolderColor, fontSize: theme.font.sm }; + return { + color: theme.colors.placeHolderColor, + fontSize: theme.font.sm, + whiteSpace: 'nowrap', + }; }); export const StyledLabel = styled('label')(({ theme }) => {