From fc5f7975a66c69b238b3821d9b6b27d900ba778d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 27 Jan 2021 17:56:24 +0100 Subject: [PATCH] docs: Make tables scrollable on overflow This makes the *tables* themselves scrollable, not the section div they are in, which means the section doesn't scroll along with them (it's already reflowed). --- doc_src/python_docs_theme/static/pydoctheme.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index 28bc43b28..5e9c65319 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -177,6 +177,9 @@ table.docutils { border-radius: 3px; margin-top: 10px; margin-bottom: 10px; + /* Make table scrollable on overflow */ + display: block; + overflow: auto; } table.docutils td, table.docutils th {