From 5cfb37cae2a961547d013dd14b99b8fa15400ed7 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 20 Oct 2024 10:18:20 -0400 Subject: [PATCH] Allow horizontal scroll on small screens for tables This is applied to the .hosts and #t01 tables only --- public_html/css/hpr.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index f68e153..f302b17 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -291,6 +291,17 @@ table.hosts { } +table#t01, +table.hosts { + display: block; + overflow-x: auto; +} + +table#t01 tbody, +table.hosts tbody { + display: table; +} + table#t01 tr:nth-child(even), table.hosts tr:nth-child(even) { background-color: #cccccc;