From 14011dbe2a8c1f9556e216e253e008dd2b71d6b1 Mon Sep 17 00:00:00 2001 From: scottb Date: Thu, 5 Apr 2018 23:59:18 -0700 Subject: [PATCH] Additional docs CSS fix for mobile (#38376) (cherry picked from commit 2381d2207e6013828e1c1cc5dcd159646616a102) --- docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css b/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css index fa8984cf6da..19e4be1f500 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css +++ b/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css @@ -1686,7 +1686,7 @@ code.code-large,.rst-content tt.code-large{font-size:90%} .wy-nav-top a{color:#fff;font-weight:bold} .wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%} .wy-nav-top i{font-size:30px;float:left;cursor:pointer;padding-top:inherit} -@media screen and (max-width: 768px){.wy-nav-content-wrap{margin-top: 30px;margin-left: 300px;width: 100%;float:left;background:#fcfcfc;min-height:100%} +@media screen and (max-width: 768px){.wy-nav-content-wrap{margin-top: 30px;margin-left: 300px;width: 100%;float:left;background:#fcfcfc;min-height:100%;position:fixed;top:15px;} } @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%} }