Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

add adaptive left margin for python site document body #18828

Merged
merged 1 commit into from
Jul 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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