Skip to content

Commit ce40ac6

Browse files
authored
Merge pull request #193 from 10up/fix/main-container-css
Adjust main container margins and max-width
2 parents 107d955 + 4872e89 commit ce40ac6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/css/docs-content.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@
88
background-color: #fff; /* Keep white so pngs get bg in dark mode. */
99
}
1010

11-
main > .container {
12-
margin-bottom: 4rem;
13-
}

src/css/global-site.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ html[data-theme="dark"] .theme-announcement-bar {
2424
}
2525

2626
main > .container {
27-
margin-top: 4rem;
27+
max-width: none;
28+
}
29+
30+
@media (min-width: 1440px) {
31+
main > .container {
32+
max-width: var(--ifm-container-width-xl);
33+
}
2834
}
2935

3036
.theme-doc-markdown iframe {

0 commit comments

Comments
 (0)