Skip to content

Commit 0b206d3

Browse files
techfgdelucis
andauthored
Fixes display of long site title on mobile (#2722)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
1 parent 656ed7d commit 0b206d3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/cold-vans-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/starlight': patch
3+
---
4+
5+
Fixes display of long site title on mobile

packages/starlight/components/Header.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const shouldRenderSearch =
4545
/* Avoid clipping focus ring around link inside title wrapper. */
4646
padding: 0.25rem;
4747
margin: -0.25rem;
48+
min-width: 0;
4849
}
4950

5051
.right-group,

0 commit comments

Comments
 (0)