Fix broken scoreboard tables for small screen widths
authornico <nico@lifeisabug.com>
Sat, 9 May 2020 09:59:59 +0000 (09:59 +0000)
committernico <nico@lifeisabug.com>
Sat, 9 May 2020 09:59:59 +0000 (09:59 +0000)
xonstat/templates/scoreboard.mako

index 88849c6..7bdf541 100644 (file)
@@ -47,7 +47,7 @@
 <thead>
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-4">Nick</th>
     <th>Kills</th>
@@ -84,7 +84,7 @@
 <thead>
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Kills</th>
 <thead>
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Fastest Time</th>
 <thead class="dom ${pgstat.team_html_color()}">
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Kills</th>
 <thead class="freezetag ${pgstat.team_html_color()}">
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Kills</th>
 <thead>
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Kills</th>
 <thead class="nb ${pgstat.team_html_color()}">
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Goals</th>
 <thead>
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up small-1">Ping</th>
     % endif
     <th class="small-2">Nick</th>
     <th>Laps</th>