Skip to content

Commit 3e07048

Browse files
authored
Constrain max width to 960px on docs content pages (#1593)
Fixes #1458
1 parent 8e33091 commit 3e07048

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/_assets/css/_content.scss

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
padding-bottom: $site-content-top-padding;
1818
padding-top: $site-content-top-padding;
1919

20+
.container {
21+
max-width: $site-content-max-width;
22+
}
23+
2024
@include media-breakpoint-up(md) {
2125
border-left: 1px solid $site-color-light-grey;
2226
min-height: calc(100vh - #{$site-header-height} - #{$site-footer-md-default-height});

src/_assets/css/_variables.scss

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ $site-font-icon: 24px/1 $site-font-family-icon;
2222
$site-header-height: 66px;
2323
$site-footer-md-default-height: 140px;
2424
$site-content-top-padding: 40px;
25+
$site-content-max-width: 960px;
2526
$site-nav-mobile-side-padding: 20px;
2627

2728
// Layer stack

0 commit comments

Comments
 (0)