Skip to content

Commit

Permalink
Make site title width fit the content (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
yanthomasdev and delucis authored May 17, 2023
1 parent 4460e55 commit 9ca67d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-rocks-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Make site title width fit the content
1 change: 1 addition & 0 deletions packages/starlight/components/SiteTitle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const href = withBase(Astro.props.locale || '/');

<style>
.site-title {
justify-self: flex-start;
align-items: center;
gap: var(--sl-nav-gap);
font-size: var(--sl-text-h4);
Expand Down

0 comments on commit 9ca67d8

Please sign in to comment.