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