Skip to content

Commit

Permalink
style(docs): fix code line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
brankoconjic committed Dec 20, 2023
1 parent b3f727e commit 08358a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/docs/src/components/Mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const components = {
return (
<pre
className={cn(
"not-prose my-6 max-h-[650px] overflow-x-auto rounded-lg py-4",
"not-prose my-6 max-h-[650px] overflow-x-auto rounded-lg py-4 leading-6",
raw && "!bg-wg-gray-800",
className
)}
Expand All @@ -67,7 +67,7 @@ const components = {
code: ({ className, ...otherProps }: React.HTMLAttributes<HTMLElement>) => (
<code
className={cn(
"not-prose relative rounded bg-surface-100/70 px-[0.3rem] py-[0.15rem] font-mono text-[13px] text-surface-800",
"not-prose relative rounded bg-surface-100/70 px-[0.3rem] py-[0.15rem] font-mono text-[13px] leading-6 text-surface-800",
className
)}
{...otherProps}
Expand Down

0 comments on commit 08358a3

Please sign in to comment.