fix(BOOK-427): Added div around the contents of the li element to avoid the li flex-styles

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-10-10 10:37:26 +00:00
parent 99e1dfcf72
commit ddbc4a063d
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@
content: url('/_static/icons/heart.svg'); content: url('/_static/icons/heart.svg');
} }
.li > p { .li > * {
display: inline; display: inline;
margin: 0; margin: 0;
} }

View File

@@ -266,7 +266,7 @@ export const renderOptions: RenderOptions = {
{...props} {...props}
className={cx(styles.li, compatibleClassNames)} className={cx(styles.li, compatibleClassNames)}
> >
{next(node.children, embeds, fullRenderOptions)} <div>{next(node.children, embeds, fullRenderOptions)}</div>
</li> </li>
) )
}, },