Starlight sidebar badges outlined style issue
Describe the Bug
Note: the issue has initially been reported in https://github.com/withastro/starlight/issues/1764
- Navigate to https://events-3bg.pages.dev/jotter/history-of-changes/ and notice the sidebar entry for this page containing a badge with an outlined style as expected for the current page:
- Navigate with a full navigation to https://events-3bg.pages.dev/jotter/ and notice the sidebar entry for the previous page ("Recent changes") with a colored badge as expected as it's not the current page:
- Navigate to the "Recent changes" page using the sidebar link and notice that the sidebar badge is not updated to an outlined style as expected for the current page:
What's the expected result?
The sidebar badges should be updated to an outlined style when the page is the current one (and vice versa when it's no longer the current one).
Link to Minimal Reproducible Example
https://events-3bg.pages.dev/jotter/history-of-changes/
Participation
- [ ] I am willing to submit a pull request for this issue.
Hi @HiDeoo, really great that you have posted the detailed issue! A reference to the Starlight issue would have sufficed, but of course it's much easier for me to understand this way. Thank you very much for that, I really appreciate it.
Lots of options, see https://github.com/withastro/starlight/issues/1764. Looks like this issue will be closed by https://github.com/withastro/starlight/issues/1530 😄
Closed after https://github.com/withastro/starlight/pull/1530 was merged