From a6d484836e55a0a1aa1f04c8b59ce4461fc323f4 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 11 Mar 2022 20:14:47 +0100 Subject: [PATCH] docs: Align text left Otherwise this does "justify", which in bad cases can spread the text over the width of the whole line, leaving awkward space between words. This looks something like ``` The main file is ~/.config/fish/config.fish ``` The current python docs theme also left-aligns. --- doc_src/python_docs_theme/static/pydoctheme.css | 1 + 1 file changed, 1 insertion(+) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index 2f629ac48..3795956ff 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -160,6 +160,7 @@ div.body { div.body p { line-height: 2em; + text-align: left; } div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 {