fix: nested list margins

This commit is contained in:
Paul Wackerow 2024-03-27 13:15:58 -07:00
parent b98a0fcef0
commit 6276772cf2
No known key found for this signature in database
GPG Key ID: F4DE7CEDF0129FB6

@ -128,7 +128,7 @@ const MDComponents = {
ul: ({ children }: any) => {
return (
<Stack>
<UnorderedList mb={7} px={4}>
<UnorderedList mb={7} px={4} sx={{ 'ul, ol': { mb: 0 } }}>
{children}
</UnorderedList>
</Stack>
@ -137,7 +137,7 @@ const MDComponents = {
ol: ({ children }: any) => {
return (
<Stack>
<OrderedList mb={7} px={4}>
<OrderedList mb={7} px={4} sx={{ 'ul, ol': { mb: 0 } }}>
{children}
</OrderedList>
</Stack>