diff --git a/.changeset/warm-bananas-provide.md b/.changeset/warm-bananas-provide.md new file mode 100644 index 000000000000..b172fd1edb99 --- /dev/null +++ b/.changeset/warm-bananas-provide.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix overflow title in error message diff --git a/packages/astro/src/core/errors/overlay.ts b/packages/astro/src/core/errors/overlay.ts index bd1b10326f93..c2ff044f4a64 100644 --- a/packages/astro/src/core/errors/overlay.ts +++ b/packages/astro/src/core/errors/overlay.ts @@ -412,6 +412,7 @@ const style = /* css */ ` padding: 24px; display: flex; justify-content: space-between; + gap: 1rem; } #code h2 { @@ -419,6 +420,7 @@ const style = /* css */ ` color: var(--title-text); font-size: 18px; margin: 0; + overflow-wrap: anywhere; } #code .link {