Skip to content

Commit

Permalink
Fix and align list styles on docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jul 18, 2024
1 parent 36ea216 commit 9fab282
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/src/components/markdoc-renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ const getRenderers = (highlighter: shiki.Highlighter | undefined) => ({
List: ({ ordered, children }: { ordered?: boolean; children: ReactNode }) => {
if (ordered) {
return (
<ol className="mt-2 list-inside list-decimal text-slate-11">
{children}
</ol>
<ol className="ml-4 mt-2 list-decimal text-slate-11">{children}</ol>
);
}
return <ul className="ml-4 mt-2 list-disc text-slate-11">{children}</ul>;
Expand Down

0 comments on commit 9fab282

Please sign in to comment.