Skip to content

Commit dfb25e1

Browse files
committed
[Docs Site] Restore larger content width when ToC is disabled
1 parent 203a984 commit dfb25e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/overrides/Page.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ if (data.updated) {
6262
---
6363

6464
<Default {...Astro.props} set:html={html} />
65+
66+
<style>
67+
html:not([data-has-toc]) {
68+
--sl-content-width: 67.5rem;
69+
}
70+
</style>

0 commit comments

Comments
 (0)