From 5955827284e33cc1dbde5d4951f7e6b5c49db859 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Mon, 28 Mar 2022 18:41:50 -0500 Subject: [PATCH] Style: Fix unbounded max width causing very wide spans to overflow --- pep_sphinx_extensions/pep_theme/static/mq.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep_sphinx_extensions/pep_theme/static/mq.css b/pep_sphinx_extensions/pep_theme/static/mq.css index 360eb372d60..a2ed81fff54 100644 --- a/pep_sphinx_extensions/pep_theme/static/mq.css +++ b/pep_sphinx_extensions/pep_theme/static/mq.css @@ -50,7 +50,7 @@ width: 100%; } section#pep-page-section > article { - max-width: 40em; + max-width: 37em; width: 74%; float: right; margin-right: 0; @@ -69,7 +69,7 @@ } @media (min-width: 60em) { section#pep-page-section > article { - max-width: none; + max-width: 56em; padding-left: 3.2%; padding-right: 3.2%; }