From 637cbf5026728ec3aca45fe2370d65b361c0787e Mon Sep 17 00:00:00 2001 From: Ben Welsh Date: Tue, 15 Feb 2022 10:48:04 -0800 Subject: [PATCH 1/3] Reduce `body_min_width` in basic theme --- sphinx/themes/basic/theme.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/themes/basic/theme.conf b/sphinx/themes/basic/theme.conf index 45834f000f2..5c8918251e7 100644 --- a/sphinx/themes/basic/theme.conf +++ b/sphinx/themes/basic/theme.conf @@ -7,7 +7,7 @@ sidebars = localtoc.html, relations.html, sourcelink.html, searchbox.html [options] nosidebar = false sidebarwidth = 230 -body_min_width = 450 +body_min_width = 300 body_max_width = 800 navigation_with_keys = False enable_search_shortcuts = True From eee6be61ab040d465d9dd4d3c831666a90f26e66 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 8 May 2022 02:37:33 +0900 Subject: [PATCH 2/3] html theme: Change the default body_min_width to 360px Some reports says 360px is smallest size at present. refs: - https://www.browserstack.com/guide/ideal-screen-sizes-for-responsive-design - https://mediag.com/blog/popular-screen-resolutions-designing-for-all/ --- sphinx/themes/basic/theme.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/themes/basic/theme.conf b/sphinx/themes/basic/theme.conf index 5c8918251e7..f8e7b263c16 100644 --- a/sphinx/themes/basic/theme.conf +++ b/sphinx/themes/basic/theme.conf @@ -7,7 +7,7 @@ sidebars = localtoc.html, relations.html, sourcelink.html, searchbox.html [options] nosidebar = false sidebarwidth = 230 -body_min_width = 300 +body_min_width = 360 body_max_width = 800 navigation_with_keys = False enable_search_shortcuts = True From d7af818ba3931ce8f9ca29554f2958f6b317fd65 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 8 May 2022 02:38:56 +0900 Subject: [PATCH 3/3] Update CHANGES for PR #10197 --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index bda3637e01b..6abe4d8f145 100644 --- a/CHANGES +++ b/CHANGES @@ -23,6 +23,7 @@ Incompatible changes To migrate: either add an explicit inventory name to the references intersphinx should resolve, or explicitly set the value of this configuration variable to an empty list. +* #10197: html theme: Reduce ``body_min_width`` setting in basic theme to 360px * #9999: LaTeX: separate terms from their definitions by a CR (refs: #9985) * #10062: Change the default language to ``'en'`` if any language is not set in ``conf.py``