From 154a1c47cb451610b58f405955d5edfe51e18127 Mon Sep 17 00:00:00 2001 From: Jan Behrens Date: Thu, 11 Apr 2013 09:49:29 +0200 Subject: [PATCH] Using fixed height for "gamestats" player-info This avoids moving page contents when selecting CTF stats (which have one additional line) --- xonstat/static/css/style.css | 2 ++ xonstat/templates/player_info.mako | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xonstat/static/css/style.css b/xonstat/static/css/style.css index 7a7c6b1..efca243 100755 --- a/xonstat/static/css/style.css +++ b/xonstat/static/css/style.css @@ -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; diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 8a9bac3..31d0fcc 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -200,7 +200,7 @@ Player Information
-
+
% for g in games_played: