From 156a8b1ad6bdd47a84663b3e7af44701083a0a6a Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Tue, 15 Oct 2019 06:13:52 +0530 Subject: [PATCH] Fix: searchbox is wrapping under the separation line on few screen sizes Fixes https://github.com/python/python-docs-theme/issues/7. --- python_docs_theme/layout.html | 16 +++++++++------- python_docs_theme/static/pydoctheme.css | 8 ++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index 822e6ed..d5308c0 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -13,13 +13,15 @@ {# modified from sphinx/themes/basic/searchbox.html #} {%- if builder != "htmlhelp" %} +
+ +
+ {%- endif %} {%- endmacro %} diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 33f74d7..f85f405 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -22,6 +22,14 @@ div.related:first-child { border-bottom: 1px solid #ccc; } +.flex.container { + display: flex; +} + +.fill-width { + flex: 1; +} + .inline-search { display: inline; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy