feat: 💄 Increase text font size

This commit is contained in:
Jesse Wierzbinski 2024-07-25 15:23:48 +02:00
parent e03c8d2a6e
commit e5b2da53b4
No known key found for this signature in database
4 changed files with 21 additions and 18 deletions

View file

@ -162,7 +162,7 @@ function CodePanel({
<div className="group dark:bg-white/2.5">
<CodePanelHeader tag={tag} label={label} />
<div className="relative">
<pre className="overflow-x-auto p-4 text-xs text-white [&>code>pre]:!bg-transparent">
<pre className="overflow-x-auto p-4 text-sm text-white [&>code>pre]:!bg-transparent">
{children}
</pre>
<CopyButton code={code} />

View file

@ -130,7 +130,7 @@ function MobileNavigationDialog({
>
<motion.div
layoutScroll={true}
className="fixed bottom-0 left-0 top-14 w-full overflow-y-auto bg-white px-4 pb-4 pt-6 shadow-lg shadow-zinc-900/10 ring-1 ring-zinc-900/7.5 min-[416px]:max-w-sm sm:px-6 sm:pb-10 dark:bg-zinc-900 dark:ring-zinc-800"
className="fixed bottom-0 left-0 max-w-[100vw] top-14 w-full overflow-y-auto bg-white px-4 pb-4 pt-6 shadow-lg shadow-zinc-900/10 ring-1 ring-zinc-900/7.5 min-[416px]:max-w-sm sm:px-6 sm:pb-10 dark:bg-zinc-900 dark:ring-zinc-800"
>
<Navigation />
</motion.div>

View file

@ -13,7 +13,7 @@ export { CodeGroup, Code as code, Pre as pre } from "./Code";
export function wrapper({ children }: { children: ReactNode }) {
return (
<article className="flex h-full flex-col pb-10 pt-16">
<article className="flex h-full flex-col pb-10 pt-16 overflow-hidden text-wrap">
<Prose className="flex-auto">{children}</Prose>
<footer className="mx-auto mt-16 w-full max-w-2xl lg:max-w-5xl">
<Feedback />