diff --git a/src/components/Container.astro b/src/components/Container.astro index c25fda6..defd87c 100644 --- a/src/components/Container.astro +++ b/src/components/Container.astro @@ -8,4 +8,4 @@ interface Props { const { class: className } = Astro.props --- -
+
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 1a570ef..0666226 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -24,7 +24,7 @@ const { title, description, image } = Astro.props
diff --git a/src/styles/global.css b/src/styles/global.css index ffe7412..41f49a3 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -100,7 +100,7 @@ /* Code block titles */ [data-rehype-pretty-code-title] { - @apply rounded-t-xl border-x border-t px-4 py-2 text-sm font-medium text-foreground; + @apply break-words rounded-t-xl border-x border-t px-4 py-2 text-sm font-medium text-foreground; /* Remove top margin from code block if a title is present */ & + pre {