branch: main
commit 9755509c459eb71038fcb99ea825894f54383640
Author: john muhl <j...@pub.pink>
Commit: Stefan Kangas <stefankan...@gmail.com>

    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 847ab65395..ac10ef9b99 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -276,6 +276,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;
@@ -323,7 +328,7 @@ table {
     width: 300px;
   }
 
-  td:last-child, th:last-child {
+  td:nth-child(2), th:nth-child(2) {
     display: none;
   }
 

Reply via email to