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

[PATCH v1 2/6] prevent wrapped headings from overlapping with text above it

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

The Oswald heading font has tall ascenders/descenders, and at the prior line-height wrapped heading lines can visually overlap adjacent text above, reducing legibility. This is most noticeable on mobile, especially in the desktop banner where the title wraps and overlaps with itself.

Apply this as a global heading rule as a consistent policy for anywhere heading wrap can occur. Some desktop views may not show the issue yet due to available width, but the underlying font behavior is the same and can surface as content or layout changes.

Adjust banner heading and nav spacing to offset the line-height change, preserving the original desktop banner visual layout.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
---
 korgi/static/css/main.css | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/korgi/static/css/main.css b/korgi/static/css/main.css
index 7d73395..3b09d24 100644
--- a/korgi/static/css/main.css
+++ b/korgi/static/css/main.css
@@ -68,7 +68,7 @@ body {
     float: right;
 }
 #banner h1 {
-    margin: 28px 0 47px .05em;
+    margin: 12px 0 31px .05em;
     text-shadow: 3px 3px 0 #F8F4EE;
     font-size: 3em;
 }
@@ -78,7 +78,7 @@ body {
 }
 #banner ul {
     padding: 0;
-    margin: 0;
+    margin: 0 100px 0 0;
     font-size: 1.1em;
     font-weight: bold;
     list-style: none;
@@ -99,6 +99,7 @@ body {
 
 h1, h2, h3, h4, h5, h6 {
     font-family: oswald,helvetica,sans-serif;
+    line-height: 1.1;
 }
 
 a {
-- 
2.51.0
Previous: Rito RhymesNext: Rito Rhymes
Message 14 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.