Skip to content

Commit

Permalink
DOCS-1095: Update page width to 90% (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Oct 6, 2023
1 parent 8aecc0a commit fa06e74
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ td > ul, td > ol {
.center-if-small { display: block; margin-left: auto; margin-right: auto; }
}

// Fix page width on full screen to be 80%
// Fix page width on full screen to be 90%

.td-content > .code-toolbar,
.td-content > .table,
Expand All @@ -965,7 +965,25 @@ td > ul, td > ol {
.td-content > picture,
.td-content > picture > img {
@include media-breakpoint-up(lg) {
max-width: 80%;
max-width: 90%;
}
}

@media (min-width: 992px) {
.td-max-width-on-larger-screens,
.td-content>pre,
.td-content>.highlight,
.td-content>.lead,
.td-content>h1,
.td-content>h2,
.td-content>ul,
.td-content>ol,
.td-content>p,
.td-content>blockquote,
.td-content>dl dd,
.td-content .footnotes,
.td-content>.alert {
max-width: 90%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ file {

@media (min-width: 992px) {
.td-content > .expand {
width: 80%;
width: 90%;
}
}

Expand Down

0 comments on commit fa06e74

Please sign in to comment.