Skip to content

Commit

Permalink
fix: text size breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjosethomas authored and chrisangelothomas committed Feb 13, 2025
1 parent 22e667b commit 0c6f8ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/research/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ResearchPost({ source, frontMatter }: { source: any; fro
<p>{frontMatter.author}</p>
<p>{frontMatter.date}</p>
</div>
<p className="text-foreground70">{frontMatter.readingTime}</p>
<p className="text-foreground70">{frontMatter.readingTime}</p>
</div>
</header>
<article className="mdx-content w-[90%] mx-auto !p-0">
Expand Down
4 changes: 1 addition & 3 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ pre {
}

html {
@apply text-[125%] 2xl:text-[175%] 4xl:text-[200%];
@apply text-[125%] 2xl:text-[130%] 4xl:text-[175%];
}

html.lenis,
Expand Down Expand Up @@ -391,9 +391,7 @@ main .sponsors {
}
}

/* Center and style MDX content */
.mdx-content {
max-width: 130ch;
margin: 0 auto;
padding: 2rem;
}
Expand Down

0 comments on commit 0c6f8ff

Please sign in to comment.