Skip to content

Commit

Permalink
chore: more styling changes to notes
Browse files Browse the repository at this point in the history
  • Loading branch information
wodeni committed Dec 29, 2024
1 parent abc1746 commit a415f67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ({ note }: { note: NoteEntry }) {
<Socials className="mt-8" />
<Tabs />
</div>
<main className="note-content prose lg:prose-xl dark:prose-invert max-w-screen-lg p-4 md:col-span-3">
<main className="note-content prose lg:prose-xl dark:prose-invert max-w-screen-lg px-2 py-4 md:col-span-3">
<div className="mb-8">
<h1 className="text-bold text-3xl">
{note.frontmatter?.title ?? ""}
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
},
// Nested p
p: {
"@apply mt-0 mb-4": {},
"@apply mt-0 mb-4 text-wrap break-words": {},
},
// Nested blockquote
blockquote: {
Expand Down

0 comments on commit a415f67

Please sign in to comment.