Fixes scrolling issue without breaking header nav (#37864)

(cherry picked from commit 3554e2c2d9)
pull/38001/head
scottb 7 years ago committed by Matt Clay
parent 4b406de19a
commit 2604832858

@ -1690,7 +1690,7 @@ code.code-large,.rst-content tt.code-large{font-size:90%}
} }
@media screen and (min-width: 768px){.wy-nav-content-wrap{margin-top: 30px;margin-left: 300px;width: calc(100% - 300px);float:left;background:#fcfcfc;min-height:100%} @media screen and (min-width: 768px){.wy-nav-content-wrap{margin-top: 30px;margin-left: 300px;width: calc(100% - 300px);float:left;background:#fcfcfc;min-height:100%}
} }
.wy-nav-content{padding:1.618em 3.236em;height:100%;margin:auto;overflow-x: hidden;overflow-y: scroll} .wy-nav-content{padding:1.618em 3.236em;height:100%;margin:auto;overflow-x: hidden;overflow-y: scroll;position: fixed;width: inherit}
.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.2);display:none;z-index:499} .wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.2);display:none;z-index:499}
.wy-body-mask.on{display:block} .wy-body-mask.on{display:block}
footer{color:gray} footer{color:gray}

Loading…
Cancel
Save