Skip to content

Commit 37cc26a

Browse files
committed
💄(frontend) update callout styles
Updated the callout block styles, centered the emoji and aligned the text to be in the center of the block.
1 parent c534fed commit 37cc26a

File tree

1 file changed

+2
-1
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks

1 file changed

+2
-1
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/CalloutBlock.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const CalloutBlock = createReactBlockSpec(
7070
}
7171
`}
7272
$align="center"
73+
$justify="center"
7374
$height="28px"
7475
$width="28px"
7576
$radius="4px"
@@ -85,7 +86,7 @@ export const CalloutBlock = createReactBlockSpec(
8586
onEmojiSelect={onEmojiSelect}
8687
/>
8788
)}
88-
<Box as="p" className="inline-content" ref={contentRef} />
89+
<Box className="inline-content" ref={contentRef} $justify="center" />
8990
</Box>
9091
);
9192
},

0 commit comments

Comments
 (0)