diff --git a/packages/react-notion-x/src/block.tsx b/packages/react-notion-x/src/block.tsx index 1e8a9a595..37fe13d8a 100644 --- a/packages/react-notion-x/src/block.tsx +++ b/packages/react-notion-x/src/block.tsx @@ -592,7 +592,7 @@ export function Block(props: BlockProps) { blockId )} > - +
@@ -838,6 +838,4 @@ export function Block(props: BlockProps) { return
} - - return null } diff --git a/packages/react-notion-x/src/styles.css b/packages/react-notion-x/src/styles.css index 1a1dc5260..965860cf3 100644 --- a/packages/react-notion-x/src/styles.css +++ b/packages/react-notion-x/src/styles.css @@ -1199,6 +1199,11 @@ svg.notion-page-icon { width: 100%; } +.notion-callout-text > *:first-child { + margin-top: 0; + padding-top: 0; +} + .notion-toggle { width: 100%; padding: 3px 2px;