Skip to content

Commit

Permalink
Fix overflow title in error message (#6583)
Browse files Browse the repository at this point in the history
* Fix overflow title in error message

* Add changeset
  • Loading branch information
fprl authored Mar 17, 2023
1 parent f5fddaf commit 66858f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-bananas-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix overflow title in error message
2 changes: 2 additions & 0 deletions packages/astro/src/core/errors/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,13 +412,15 @@ const style = /* css */ `
padding: 24px;
display: flex;
justify-content: space-between;
gap: 1rem;
}
#code h2 {
font-family: var(--font-monospace);
color: var(--title-text);
font-size: 18px;
margin: 0;
overflow-wrap: anywhere;
}
#code .link {
Expand Down

0 comments on commit 66858f1

Please sign in to comment.