Skip to content

Commit

Permalink
Enhance blockquote styling for code blocks
Browse files Browse the repository at this point in the history
Add Tailwind CSS utilities to adjust the width and margin of code blocks within blockquotes. This change ensures better visual consistency and alignment in small screens and larger displays.
  • Loading branch information
reatlat committed Dec 7, 2024
1 parent 23cc97a commit 301ccee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ export default {
"@apply bg-zenith-700 drop-shadow-lg dark:drop-shadow-none":
{},
},
'blockquote > pre[class*="language-"]': {
"@apply w-[calc(100%+1rem)] sm:w-full mr-0": {},
},
".prose p": {
"@apply text-pretty": {},
},
Expand Down

0 comments on commit 301ccee

Please sign in to comment.