From 3ff38555d81e170b131df135737517f46e1cdff1 Mon Sep 17 00:00:00 2001 From: techfg Date: Tue, 17 Dec 2024 11:59:24 -0800 Subject: [PATCH] Fixes display of long site title on mobile --- .changeset/cold-vans-tan.md | 5 +++++ packages/starlight/components/Header.astro | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/cold-vans-tan.md diff --git a/.changeset/cold-vans-tan.md b/.changeset/cold-vans-tan.md new file mode 100644 index 00000000000..6359ff20293 --- /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 fa87ce89570..47fb43fb16a 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,