Skip to content

Commit

Permalink
Fix Smart Editor list CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
cskrov committed Feb 20, 2025
1 parent ec4dfac commit f2fb22a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/plate/components/lists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const OrderedListStyle = styled.ol`
padding-left: 1em;
margin: 0;
margin-top: 1em;
list-style-type: decimal;
`;

export const UnorderedList = ({ children, element, ...props }: PlateElementProps<BulletListElement>) => (
Expand All @@ -35,6 +36,7 @@ const UnorderedListStyle = styled.ul`
padding-left: 1em;
margin: 0;
margin-top: 1em;
list-style-type: disc;
`;

export const ListItem = ({ children, ...props }: PlateElementProps<ListItemElement>) => (
Expand Down

0 comments on commit f2fb22a

Please sign in to comment.