Skip to content

Commit

Permalink
add adaptive left margin for python site document body (apache#18828)
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 committed Jul 31, 2020
1 parent 045efb2 commit aa53291
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/python_docs/themes/mx-theme/src/scss/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ body {
margin-left: 300px;
}

@media screen and (max-width: 1024px) {
.mdl-layout--fixed-drawer>.mdl-layout__content {
margin-left:0
}
}

h1, h2, h3, h4, h5, h6, blockquote, span.mdl-layout-title,
a.download > code.download {
font-family: $body_font_family;
Expand Down

0 comments on commit aa53291

Please sign in to comment.