feat(SW-2930): Aligned margins and spacing for RTE html with Figma
Approved-by: Christian Andolf
This commit is contained in:
@@ -80,14 +80,13 @@ export default async function Content({ content }: ContentProps) {
|
||||
)
|
||||
case BlocksEnums.block.TextContent:
|
||||
return (
|
||||
<section key={`${item.__typename}-${idx}`}>
|
||||
<JsonToHtml
|
||||
embeds={
|
||||
item.text_content.content.embedded_itemsConnection.edges
|
||||
}
|
||||
nodes={item.text_content.content.json.children}
|
||||
/>
|
||||
</section>
|
||||
<JsonToHtml
|
||||
key={`${item.__typename}-${idx}`}
|
||||
embeds={
|
||||
item.text_content.content.embedded_itemsConnection.edges
|
||||
}
|
||||
nodes={item.text_content.content.json.children}
|
||||
/>
|
||||
)
|
||||
default:
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user