From cfc8d14a8dc9c15ddc504967255a6b707a0aba22 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 27 May 2021 22:40:04 +0200 Subject: [PATCH] docs: Force sections to be full-width Otherwise there's this weird *gap*, where the sections are narrow even tho there's plenty of space? So you have this screen layout: ```table | sidebar | text | | sidebar | narr | | sidebar | ower | | sidebar | than | | sidebar | need | | sidebar | ed | ``` For some gosh-forsaken reason. --- 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 31a3ca9b8..d317bcaf5 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -35,6 +35,10 @@ div.section { but I have no idea how to make the tables themselves scrollable */ overflow-y: auto; + /* This avoids leaving the actual text narrower than necessary + in certain widths. + */ + width: 100%; } div.related a:hover {