Subject: [bug#74634] [PATCH shepherd website 5/5] Avoid some content overflowing horizontally on narrow screens.

From: [email-masked]
Date: Sun, 1 Dec 2024 11:19:50 -0500

From: Luis Felipe <[email-masked]>

* static/css/main.css (pre)[overflow-x]: Set to auto.
(.frontpage #header .logo img): Remove padding. The parent container
already has a margin that avoids the image extending to the left and
right sides of the viewport.
---
 static/css/main.css | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css
index 08e1ee5..35c4b77 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -60,7 +60,7 @@ pre {
     padding: 0 0 0 1em;
     text-align: left;
     font-family: fixed-width;
-    overflow-x: display;
+    overflow-x: auto;
     margin-bottom: 0.8rem;
 }
 
@@ -137,7 +137,6 @@ p + p {
 .frontpage #header .logo img {
     margin: 0 auto;
     max-width: 100%;
-    padding: 10px;
     display: block;
     height: 10rem;
 }
-- 
2.46.0