]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Using fixed height for "gamestats" player-info
authorJan Behrens <zykure@web.de>
Thu, 11 Apr 2013 07:49:29 +0000 (09:49 +0200)
committerJan Behrens <zykure@web.de>
Thu, 11 Apr 2013 07:49:29 +0000 (09:49 +0200)
This avoids moving page contents when selecting CTF stats (which have one additional line)

xonstat/static/css/style.css
xonstat/templates/player_info.mako

index 7a7c6b12f3ecc37e90803bdbfce5eafee0de39fe..efca24384be1dcf71fcec59a3a7647a17b756421 100755 (executable)
@@ -3525,6 +3525,8 @@ header h2 { display:none; }
 
 .table .tdcenter { text-align: center; }
 
+.game-stats { line-height: 1.5em; height: 9em; }
+
 /* Game Info and Game Index*/
 .game-detail img {
   float: left;
index 8a9bac36a343e299d4138944525a2f06a6c5d2d2..31d0fcc4915f839210352457ee30c89e2e5de3bc 100644 (file)
@@ -200,7 +200,7 @@ Player Information
 
 <div class="row">
   <div id="gbtabcontainer" class="tabbable tabs-below">
-    <div class="tab-content">
+    <div class="tab-content game-stats">
       % for g in games_played:
       <div class="tab-pane fade in 
         % if g.game_type_cd == 'overall':