Skip to content

Commit acaecdd

Browse files
authored
Fix layout issue when no sidebar (#134)
1 parent cb8aa4c commit acaecdd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/css/custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ adjusting for padding. This matches what the blog and our custom page layouts al
118118
}
119119

120120
[class^='docsWrapper'] {
121-
max-width: var(--ifm-container-width);
121+
width: min(var(--ifm-container-width), 100%);
122122
margin-left: auto;
123123
margin-right: auto;
124124
}
@@ -133,7 +133,7 @@ At the wider breakpoint for the Infima container, re-declare the widths.
133133
}
134134

135135
[class^='docsWrapper'] {
136-
max-width: var(--ifm-container-width-xl);
136+
width: min(var(--ifm-container-width-xl), 100%);
137137
}
138138
}
139139

0 commit comments

Comments
 (0)