Skip to content

Commit

Permalink
Move class to parent
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Dec 20, 2020
1 parent c2b822d commit 19bfb09
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,20 +420,16 @@ export const Block: React.FC<Block> = props => {
<div
className={classNames(
"notion-callout",
blockValue.format.block_color &&
`notion-${blockValue.format.block_color}`,
blockValue.format.block_color &&
`notion-${blockValue.format.block_color}_co`
)}
>
<div>
<PageIcon block={block} mapImageUrl={mapImageUrl} />
</div>
<div
className={classNames(
"notion-callout-text",
blockValue.format.block_color &&
`notion-${blockValue.format.block_color}`
)}
>
<div className="notion-callout-text">
{renderChildText(blockValue.properties.title)}
</div>
</div>
Expand Down

0 comments on commit 19bfb09

Please sign in to comment.