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

[PATCH v1 6/6] improve mobile rendering of docutils tables

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

On narrow viewports, docutils tables become hard to read: the releases table compresses too tightly, and the signatures fingerprint values wrap and lose scanability.

Both /releases.html and /signature.html use table.docutils, and their cells contain data values (versions, dates, fingerprints) rather than sentence prose. Keep mobile behavior consistent with desktop by treating these as single-line values and preserving readability.

Make docutils tables horizontally scrollable within their container so cells can keep single-line values without forcing column collapse or value wrapdown on narrow viewports.

Adjust border drawing for the scrollable table state by resetting default cell borders and reapplying explicit grid edges to avoid uneven/doubled outer borders.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
---
 korgi/static/css/main.css | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff --git a/korgi/static/css/main.css b/korgi/static/css/main.css
index 16d97cd..04955c6 100644
--- a/korgi/static/css/main.css
+++ b/korgi/static/css/main.css
@@ -382,6 +382,22 @@ dt {
         margin: 1em;
         padding: 1em;
     }
+    table.docutils {
+        display: block;
+        overflow-x: auto;
+        -webkit-overflow-scrolling: touch;
+        width: 100%;
+    }
+    table.docutils th,
+    table.docutils td {
+        white-space: nowrap;
+        padding: 0 5px;
+        border: 1px solid #ccc;
+        border-collapse: collapse;
+    }
+    table.docutils > caption {
+        padding-left: 5px;
+    }
     pre,
     .literal-block {
         white-space: pre;
-- 
2.51.0
Previous: Rito Rhymes
Message 18 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.