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: error style of quick search modal (#4359)

Qid550804cf50c
diff --git a/apps/core/src/components/pure/quick-search-modal/index.tsx b/apps/core/src/components/pure/quick-search-modal/index.tsx
index 89236c443f..81a2daa571 100644
--- a/apps/core/src/components/pure/quick-search-modal/index.tsx
+++ b/apps/core/src/components/pure/quick-search-modal/index.tsx
@@ -77,6 +77,7 @@ export const QuickSearchModal = ({
open={open}
onOpenChange={setOpen}
width={608}
+ withoutCloseButton
contentOptions={{
['data-testid' as string]: 'quickSearch',
style: {
@@ -85,6 +86,7 @@ export const QuickSearchModal = ({
top: '80px',
overflow: 'hidden',
transform: 'translateX(-50%)',
+ padding: 0,
},
}}
>