diff options
author | Chris Swithinbank | 2023-05-30 19:40:15 +0200 |
---|---|---|
committer | Chris Swithinbank | 2023-05-30 19:40:15 +0200 |
commit | ea310bd6c9079579a6572e5a1fc0d17ac5f24244 (patch) | |
tree | 9b8e4d85296536123448b4ed6267d81b1c15cba1 | |
parent | d162b2fc0795248fa89d45f2e5d4207126a59256 (diff) | |
download | IT.starlight-ea310bd6c9079579a6572e5a1fc0d17ac5f24244.tar.gz IT.starlight-ea310bd6c9079579a6572e5a1fc0d17ac5f24244.tar.bz2 IT.starlight-ea310bd6c9079579a6572e5a1fc0d17ac5f24244.zip |
Use wider content width on splash page
-rw-r--r-- | packages/starlight/index.astro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/starlight/index.astro b/packages/starlight/index.astro index b906a80c..acbfdc1c 100644 --- a/packages/starlight/index.astro +++ b/packages/starlight/index.astro @@ -57,6 +57,9 @@ const hasToC = Boolean(tocConfig); html:not([data-has-toc]) { --sl-mobile-toc-height: 0rem; } + html:not([data-has-sidebar]) { + --sl-content-width: 67.5rem; + } /* Add scroll padding to ensure anchor headings aren't obscured by nav */ html { /* Additional padding is needed to account for the mobile TOC */ |