]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Fix the display of the weapon icon on mobile.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 19 Apr 2015 12:10:27 +0000 (08:10 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 19 Apr 2015 12:10:27 +0000 (08:10 -0400)
xonstat/templates/accuracy.mako

index 3a79323eb40e2b87aef212c8f39e9421972aa97b..3c1e007c33dbf41f0301ca9b62f7d26ef92d651f 100644 (file)
@@ -14,7 +14,7 @@
 
 <table class="table-hover table-condensed">
   <thead>
-    <th class="small-1"></th>
+    <th class="small-2 medium-1"></th>
     <th class="show-for-medium-up">Weapon</th>
     <th class="show-for-medium-up">Frags</th>
     <th>Accuracy</th>
@@ -44,7 +44,7 @@
     <tr>
       ## Note: the name of the image must match up with the weapon_cd 
       ## entry of that weapon, else this won't work
-      <td class="small-1 text-center"><span class="sprite sprite-${weapon_stat[1]}"></span></td>
+      <td class="small-2 medium-1 text-center"><span class="sprite sprite-${weapon_stat[1]}"></span></td>
       <td class="show-for-medium-up">${weapon_stat[0]}</td>
       <td class="show-for-medium-up">${weapon_stat[6]}</td>
       <td>${weapon_stat[4]}/${weapon_stat[5]} (${hit_pct}%)</td>