diff --git a/app/global.css b/app/global.css index dbcc721..90f2f8d 100644 --- a/app/global.css +++ b/app/global.css @@ -1,3 +1,10 @@ @import "tailwindcss"; @import "fumadocs-ui/css/neutral.css"; @import "fumadocs-ui/css/preset.css"; + +/* Allow long inline code to wrap instead of overflowing the page layout */ +:not(pre) > code { + white-space: normal; + overflow-wrap: anywhere; + word-break: break-word; +}