Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Riley1101 committed Nov 27, 2023
2 parents fb774ea + 75cafe8 commit 98f6f20
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions components/common/portable/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const components: PortableTextComponents = {
<em className="italic text-theme-accent underline ">{children}</em>
),
strong: ({ children }) => (
<strong className="text-theme-accent">
{children}
</strong>
<strong className="text-theme-accent">{children}</strong>
),
code: ({ children }) => (
<code className="bg-theme-primary-opaque p-1 text-[14px] rounded-md">
Expand Down Expand Up @@ -88,10 +86,14 @@ const components: PortableTextComponents = {
},
list: {
bullet: ({ children }) => (
<ul className="ml-12 space-y-2 list-disc">{children}</ul>
<ul className="ml-6 md:ml-12 space-y-2 list-disc leading-loose">
{children}
</ul>
),
number: ({ children }) => (
<ol className="ml-12 space-y-2 list-decimal">{children}</ol>
<ol className="ml-6 md:ml-12 space-y-2 list-decimal leading-loose">
{children}
</ol>
),
},
};
Expand Down

0 comments on commit 98f6f20

Please sign in to comment.