Skip to content

Commit 73a47bb

Browse files
authored
[Docs Site] Expand content column when ToC is hidden (#22059)
1 parent 5af9ae5 commit 73a47bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/overrides/Page.astro

+6
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)