feat(SW-2930): Aligned margins and spacing for RTE html with Figma
Approved-by: Christian Andolf
This commit is contained in:
@@ -23,12 +23,11 @@ export default async function Blocks({ blocks }: BlocksProps) {
|
||||
)
|
||||
case BlocksEnums.block.Content:
|
||||
return (
|
||||
<section key={`${block.__typename}-${idx}`}>
|
||||
<JsonToHtml
|
||||
nodes={block.content.json.children}
|
||||
embeds={block.content.embedded_itemsConnection.edges}
|
||||
/>
|
||||
</section>
|
||||
<JsonToHtml
|
||||
key={`${block.__typename}-${idx}`}
|
||||
nodes={block.content.json.children}
|
||||
embeds={block.content.embedded_itemsConnection.edges}
|
||||
/>
|
||||
)
|
||||
case BlocksEnums.block.DynamicContent:
|
||||
const dynamicContent = {
|
||||
|
||||
Reference in New Issue
Block a user