From 5dafd0d3483336ff50b5039942bc35c41d30644f Mon Sep 17 00:00:00 2001 From: john muhl Date: Thu, 14 Mar 2024 13:46:54 -0500 Subject: [PATCH] Show rank instead of version on narrow displays * html/layout.css (td): (th): Hide version and right align rank column. --- html/layout.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/html/layout.css b/html/layout.css index 9d04958..02dfb87 100644 --- a/html/layout.css +++ b/html/layout.css @@ -283,6 +283,11 @@ td { border-bottom: 1px solid #ddd; } +td:last-child, +th:last-child { + text-align: right; +} + footer, .footer { border-top: 1px solid #999; text-align:center; @@ -330,7 +335,7 @@ table { width: 300px; } - td:last-child, th:last-child { + td:nth-child(2), th:nth-child(2) { display: none; } -- 2.41.0