Skip to content

Commit

Permalink
Fixes display of long site title on mobile (#2722)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
techfg and delucis authored Jan 10, 2025
1 parent 656ed7d commit 0b206d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-vans-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Fixes display of long site title on mobile
1 change: 1 addition & 0 deletions packages/starlight/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const shouldRenderSearch =
/* Avoid clipping focus ring around link inside title wrapper. */
padding: 0.25rem;
margin: -0.25rem;
min-width: 0;
}

.right-group,
Expand Down

0 comments on commit 0b206d3

Please sign in to comment.