diff --git a/_static/css/custom.css b/_static/css/custom.css index a467a088159..09aba28f258 100755 --- a/_static/css/custom.css +++ b/_static/css/custom.css @@ -91,3 +91,12 @@ transition: none; transform-origin: none; } + +.pytorch-left-menu-search input[type=text] { + background-image: none; +} + +.gsc-control-cse { + padding-left: 0px !important; + padding-bottom: 0px !important; +} diff --git a/_templates/layout.html b/_templates/layout.html index 22129040e49..1c632de63f8 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -11,6 +11,23 @@ {%- endblock %} +{% block sidebartitle %} + {% if theme_display_version %} + {%- set nav_version = version %} + {% if READTHEDOCS and current_version %} + {%- set nav_version = current_version %} + {% endif %} + {% if nav_version %} +