Skip to content

Commit

Permalink
fix list styling
Browse files Browse the repository at this point in the history
  • Loading branch information
camdendotlol committed Dec 18, 2024
1 parent 2e3f8ca commit 4d76409
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RichText/RichTextElement.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getImageClass = (size: 'thumbnail' | 'medium' | 'large' | 'full') => {
);
case 'bulleted-list':
return (
<ul style={style} {...attributes}>
<ul class='list-disc list-inside' style={style} {...attributes}>
<slot />
</ul>
);
Expand All @@ -53,13 +53,13 @@ const getImageClass = (size: 'thumbnail' | 'medium' | 'large' | 'full') => {
);
case 'list-item':
return (
<li style={style} {...attributes}>
<li class='indent-4' style={style} {...attributes}>
<slot />
</li>
);
case 'numbered-list':
return (
<ol style={style} {...attributes}>
<ol class='list-decimal list-inside' style={style} {...attributes}>
<slot />
</ol>
);
Expand Down

0 comments on commit 4d76409

Please sign in to comment.