Skip to content

Commit ff84500

Browse files
committed
editor: add spacing between attachments
Signed-off-by: Hamish <[email protected]>
1 parent fd7bf30 commit ff84500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/editor/src/extensions/attachment/component.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export function AttachmentComponent(props: ReactNodeViewProps<FileAttachment | A
8686
userSelect: "none",
8787
backgroundColor: "var(--background-secondary)",
8888
p: 2,
89+
m: 1,
8990
borderRadius: "default",
9091
border: "1px solid var(--border)",
9192
maxWidth: 350,
@@ -183,6 +184,7 @@ export function AttachmentComponent(props: ReactNodeViewProps<FileAttachment | A
183184
alignItems: "center",
184185
backgroundColor: "var(--background-secondary)",
185186
px: 1,
187+
m: 1,
186188
borderRadius: "default",
187189
border: "1px solid var(--border)",
188190
cursor: "pointer",

0 commit comments

Comments
 (0)