fix: nested list margins

website-fix-list-margin
Paul Wackerow 8 months ago
parent b98a0fcef0
commit 6276772cf2
No known key found for this signature in database
GPG Key ID: F4DE7CEDF0129FB6
  1. 4
      src/components/UI/docs/MDComponents.tsx

@ -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>

Loading…
Cancel
Save