From 5894391a297ea69081efa0797b1ba81638ab932e Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 26 Nov 2023 18:52:16 +0100 Subject: [PATCH] fix: hide runner up col on small displays --- static/site.css | 5 +++++ templates/index.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/static/site.css b/static/site.css index 9f0c642..bcf66ab 100644 --- a/static/site.css +++ b/static/site.css @@ -19,6 +19,7 @@ th{ margin-bottom: 2px; font-weight: bold; } + table{ border-collapse:separate; border-spacing: 0 0.25em; @@ -74,5 +75,9 @@ input{ margin-right: 2px; margin-left: 2px; } + .runner-up{ + display: none; + width: 0; + } } diff --git a/templates/index.html b/templates/index.html index e8d5a13..9286897 100644 --- a/templates/index.html +++ b/templates/index.html @@ -32,7 +32,7 @@
Record Age
- +
Runner Up (%)
@@ -68,7 +68,7 @@
{{ map.get_best_replay_age() }} days
- +
{{ map.get_record_replay_percent_diff() }}