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) => {
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>