What version of starlight are you using?
0.38.2
What version of astro are you using?
6.1.0
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
use import { getRelativeLocaleUrl } from 'astro:i18n'
const docsHref = getRelativeLocaleUrl('en', 'second_page') in a header component used by main layout make the starlight CSS leak in all pages.
Link to Minimal Reproducible Example
https://github.com/riderx/astro-reproduction-css-issue
Participation