Skip to content

Commit d6c09cd

Browse files
authored
[Docs Site] Restore larger content width when ToC is disabled (#19732)
1 parent e20f0bf commit d6c09cd

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)