We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c534fed commit d49feaeCopy full SHA for d49feae
src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/CalloutBlock.tsx
@@ -70,8 +70,10 @@ export const CalloutBlock = createReactBlockSpec(
70
}
71
`}
72
$align="center"
73
+ $justify="center"
74
$height="28px"
75
$width="28px"
76
+ $minWidth="28px"
77
$radius="4px"
78
>
79
{block.props.emoji}
@@ -85,7 +87,16 @@ export const CalloutBlock = createReactBlockSpec(
85
87
onEmojiSelect={onEmojiSelect}
86
88
/>
89
)}
- <Box as="p" className="inline-content" ref={contentRef} />
90
+ <Box
91
+ as="p"
92
+ className="inline-content"
93
+ ref={contentRef}
94
+ $css={css`
95
+ & > div {
96
+ padding-top: 2px;
97
+ }
98
+ `}
99
+ />
100
</Box>
101
);
102
},
0 commit comments