Skip to content

Commit

Permalink
Fix font size in code blocks (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Jan 26, 2024
1 parent 5d75744 commit 7e9f4ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tiny-scissors-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"apollo-client-devtools": patch
---

Fix font size of code blocks to match new Apollo design system.
2 changes: 1 addition & 1 deletion src/application/components/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const CodeBlock = ({
<div
className={clsx(
className,
"flex gap-1 items-start bg-secondary dark:bg-secondary-dark p-4 rounded-lg relative border border-primary dark:border-primary-dark overflow-auto"
"flex gap-1 items-start bg-secondary dark:bg-secondary-dark p-4 rounded-lg relative border border-primary dark:border-primary-dark overflow-auto text-sm"
)}
>
<Highlight language={language} theme={activeTheme} code={code}>
Expand Down

0 comments on commit 7e9f4ec

Please sign in to comment.