We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9996335 + f288210 commit 154c816Copy full SHA for 154c816
packages/react-notion-x/src/block.tsx
@@ -592,7 +592,7 @@ export function Block(props: BlockProps) {
592
blockId
593
)}
594
>
595
- <PageIcon block={block} />
+ <PageIcon block={block} hideDefaultIcon={true} />
596
597
<div className='notion-callout-text'>
598
<Text value={block.properties?.title} block={block} />
@@ -838,6 +838,4 @@ export function Block(props: BlockProps) {
838
839
return <div />
840
}
841
-
842
- return null
843
packages/react-notion-x/src/styles.css
@@ -1199,6 +1199,11 @@ svg.notion-page-icon {
1199
width: 100%;
1200
1201
1202
+.notion-callout-text > *:first-child {
1203
+ margin-top: 0;
1204
+ padding-top: 0;
1205
+}
1206
+
1207
.notion-toggle {
1208
1209
padding: 3px 2px;
0 commit comments