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 c2b822d commit 19bfb09Copy full SHA for 19bfb09
src/block.tsx
@@ -420,20 +420,16 @@ export const Block: React.FC<Block> = props => {
420
<div
421
className={classNames(
422
"notion-callout",
423
+ blockValue.format.block_color &&
424
+ `notion-${blockValue.format.block_color}`,
425
blockValue.format.block_color &&
426
`notion-${blockValue.format.block_color}_co`
427
)}
428
>
429
<div>
430
<PageIcon block={block} mapImageUrl={mapImageUrl} />
431
</div>
- <div
- className={classNames(
432
- "notion-callout-text",
433
- blockValue.format.block_color &&
434
- `notion-${blockValue.format.block_color}`
435
- )}
436
- >
+ <div className="notion-callout-text">
437
{renderChildText(blockValue.properties.title)}
438
439
0 commit comments