From 2fa2ef4be1c819cce9c7e76ffb6b1c09fb93355c Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 1 Nov 2024 16:43:29 +0100 Subject: css: make wide tables fit --- docs/style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/style.css b/docs/style.css index 5ec9203..9c0a887 100644 --- a/docs/style.css +++ b/docs/style.css @@ -9,3 +9,19 @@ div.wy-side-nav-search { padding: unset; margin: unset; } + +/* +Wide tables are wide. +Default is 800px, which is a waste of screen space. +*/ +div.wy-nav-content { + max-width: unset; +} + +.wy-table-responsive table td,.wy-table-responsive table th { + /* + The theme sets it to "nowrap", which means tables become + ultra-wide with horizontal scrollbars. Ugh. + */ + white-space:unset; +} -- cgit v1.2.3