diff options
author | techfg | 2025-01-10 13:00:29 -0800 |
---|---|---|
committer | GitHub | 2025-01-10 22:00:29 +0100 |
commit | 0b206d3a23f0876146dc17f5e507984362917696 (patch) | |
tree | b170c3b7d2ba49e33131a0cbaa291176dff11474 | |
parent | 656ed7dca500ec13c0d14aa825001cf92c5ff1bc (diff) | |
download | IT.starlight-0b206d3a23f0876146dc17f5e507984362917696.tar.gz IT.starlight-0b206d3a23f0876146dc17f5e507984362917696.tar.bz2 IT.starlight-0b206d3a23f0876146dc17f5e507984362917696.zip |
Fixes display of long site title on mobile (#2722)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r-- | .changeset/cold-vans-tan.md | 5 | ||||
-rw-r--r-- | packages/starlight/components/Header.astro | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/cold-vans-tan.md b/.changeset/cold-vans-tan.md new file mode 100644 index 00000000..6359ff20 --- /dev/null +++ b/.changeset/cold-vans-tan.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes display of long site title on mobile diff --git a/packages/starlight/components/Header.astro b/packages/starlight/components/Header.astro index fa87ce89..47fb43fb 100644 --- a/packages/starlight/components/Header.astro +++ b/packages/starlight/components/Header.astro @@ -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, |