Skip to content

Commit d97f532

Browse files
KianNHMaddy-Cloudflare
authored andcommitted
[Docs Site] Expand content column when ToC is hidden (#22059)
1 parent f7002da commit d97f532

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
@@ -58,3 +58,9 @@ if (data.updated) {
5858
---
5959

6060
<Default set:html={html} />
61+
62+
<style>
63+
html:not([data-has-toc]) {
64+
--sl-content-width: 67.5rem;
65+
}
66+
</style>

0 commit comments

Comments
 (0)