Skip to content

Commit

Permalink
Improve styling of sidebar entries that wrap (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
lorenzolewis and delucis committed Jul 28, 2023
1 parent 4485d90 commit 38ff53c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-islands-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Improve styling of sidebar entries that wrap onto multiple lines
3 changes: 2 additions & 1 deletion packages/starlight/components/SidebarSublist.astro
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ interface Props {
border-radius: 0.25rem;
text-decoration: none;
color: var(--sl-color-gray-2);
padding: 0.1em var(--sl-sidebar-item-padding-inline);
padding: 0.3em var(--sl-sidebar-item-padding-inline);
line-height: 1.4;
}

a:hover,
Expand Down

0 comments on commit 38ff53c

Please sign in to comment.