Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: quick search shortcut style should no wrap (#648)

JimmFlyfe47ab606386
diff --git a/packages/app/src/components/quick-search/style.ts b/packages/app/src/components/quick-search/style.ts
index c37e85e231..492b7988c4 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 }) => {