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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user