From 252f521e9509210dee94f889895355dce3e4fddc Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 27 Mar 2023 17:21:09 +0200 Subject: [PATCH] docs: Prevent overflow for narrow screens Regression from #9003, this is visible on mobile mainly. Fixes #9690 (cherry picked from commit ca02e88ef19d71821b633d139fe20b1284bb51b1) --- doc_src/python_docs_theme/static/pydoctheme.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index c9ea726c5..6eb6e2474 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -552,6 +552,10 @@ aside.footnote > p { line-height: 1.5em; } +div.documentwrapper { + width: 100%; +} + /* On screens that are less than 700px wide remove anything non-essential - the sidebar, the gradient background, ... */ @media screen and (max-width: 700px) {