wrap and size fact box

This commit is contained in:
2024-07-15 22:11:26 +02:00
parent 747cd6351e
commit dc17e90954
3 changed files with 17 additions and 11 deletions
+7 -8
View File
@@ -12,14 +12,13 @@ export const FactBoxBlock = ({ block }: { block: FactBoxBlockTypeWithAlias }) =>
return <></>;
}
return (
<section
className={styles.factBox}
data-background-color={block.backgroundColor ?? ""}
>
<div
className={styles.factBoxContent}
dangerouslySetInnerHTML={{ __html: block.factBoxBody }}
/>
<section className={styles.factBoxWrapper}>
<div className={styles.factBox} data-background-color={block.backgroundColor ?? ""}>
<div
className={styles.factBoxContent}
dangerouslySetInnerHTML={{ __html: block.factBoxBody }}
/>
</div>
</section>
);
};