From fe9bd947567ed28dedf08db7bd17319aee7991bf Mon Sep 17 00:00:00 2001 From: tristanlatr Date: Wed, 23 Oct 2024 13:08:00 -0400 Subject: [PATCH] Fix #828 --- README.rst | 4 ++-- pydoctor/themes/readthedocs/readthedocstheme.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index bdd799947..09f781aa9 100644 --- a/README.rst +++ b/README.rst @@ -89,8 +89,8 @@ in development Pydoctor should now run on windows without the need to be administrator. * Adjust the sphinx extension to support Sphinx 8.1. The entries dynamically added to the intersphinx config from the ``pydoctor_url_path`` config option now includes a project name which defaults to 'main' (instead of putting None), - use mapping instead of a list define your own project name. - + use mapping instead of a list to define your own project name. +* Fix the readthedocs theme so the adds injected by ReadTheDocs are rendered with the correct width. pydoctor 24.3.3 ^^^^^^^^^^^^^^^ diff --git a/pydoctor/themes/readthedocs/readthedocstheme.css b/pydoctor/themes/readthedocs/readthedocstheme.css index b12f3013f..1a14a15bc 100644 --- a/pydoctor/themes/readthedocs/readthedocstheme.css +++ b/pydoctor/themes/readthedocs/readthedocstheme.css @@ -31,7 +31,7 @@ body > nav::-webkit-scrollbar{ width: 0; } -body > div, body > footer { +body > .container-fluid, body > footer { margin-left: 300px!important; padding: 0 40px 0 40px; background-color: rgb(252, 252, 252)!important; @@ -667,7 +667,7 @@ nav.sidebar > div:nth-child(1) li li .tocChildrenToggle:checked ~ .expandableCon width: auto!important; } - body > div, body > footer { + body > .container-fluid, body > footer { margin-left: 0!important; width: auto!important; padding: 5px 15px 5px 15px;