git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1 3/6] add 848px mobile banner adjustments to prevent overflow

From
Rito Rhymes <rito@ritovision.com>
Date
Mar 14, 2026, 07:59 UTC
Message-ID
<20260314075922.67391-4-rito@ritovision.com>
In-Reply-To
<20260314075922.67391-1-rito@ritovision.com>

At widths below 848px, the desktop banner structure is too wide and creates page-wide horizontal scroll overflow, breaking the layout.

Introduce a mobile breakpoint at 848px (equivalent to 53em at a 16px base font size), matching the site's existing fixed-width layout scale.

Adjust banner sizing and spacing at this breakpoint while preserving the existing desktop layout for viewport widths above it.

This patch is intentionally banner-only. The overall mobile layout will still not render correctly until corresponding main-content and footer overflow fixes are applied in follow-up commits.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
---
 korgi/static/css/main.css | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff --git a/korgi/static/css/main.css b/korgi/static/css/main.css
index 3b09d24..19ee328 100644
--- a/korgi/static/css/main.css
+++ b/korgi/static/css/main.css
@@ -339,3 +339,25 @@ dt {
 #logo-akamai {
     padding-bottom: 22px;
 }
+
+@media screen and (max-width: 848px) {
+    #banner {
+        width: auto;
+        margin: 0;
+        border-radius: 0;
+        border-left: none;
+        border-right: none;
+        border-top: none;
+    }
+    #banner h1 {
+        font-size: 2em;
+        margin: 0.5em 0;
+    }
+    #tux-gear {
+        width: 4em;
+        height: 5em;
+    }
+    #banner li {
+        padding: 0 0.5em;
+    }
+}
-- 
2.51.0
Previous: Rito RhymesNext: Rito Rhymes
Message 15 of 18 in “GitGitGadget's website is responsive, how about kernel.org?”
  1. Johannes SchindelinMar 13, 2026
  2. Konstantin RyabitsevMar 13, 2026
  3. Rito RhymesMar 13, 2026
  4. Konstantin RyabitsevMar 13, 2026
  5. Rito RhymesMar 13, 2026
  6. Junio C HamanoMar 13, 2026
  7. Rito RhymesMar 14, 2026
  8. Junio C HamanoMar 14, 2026
  9. Rito RhymesMar 14, 2026
  10. Konstantin RyabitsevMar 16, 2026
  11. Rito RhymesMar 16, 2026
  12. 0/6 Allow site layouts to render properly on mobile devicesRito Rhymes, Mar 14, 2026
  13. 1/6 add viewport meta tag for proper mobile renderingRito Rhymes, Mar 14, 2026
  14. 2/6 prevent wrapped headings from overlapping with text above itRito Rhymes, Mar 14, 2026
  15. 3/6 add 848px mobile banner adjustments to prevent overflowRito Rhymes, Mar 14, 2026
  16. 4/6 add responsive extras and footer layout adjustments to contain overflowRito Rhymes, Mar 14, 2026
  17. 5/6 contain horizontal overflow in core content and homepage releases layoutRito Rhymes, Mar 14, 2026
  18. 6/6 improve mobile rendering of docutils tablesRito Rhymes, Mar 14, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.