website: fix nested list margin (#29373)

fix: nested list margins
This commit is contained in:
Paul Wackerow 2024-03-28 04:11:28 -07:00 committed by GitHub
parent b98a0fcef0
commit 1b1ae77cc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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