fix updatebar

This commit is contained in:
Stefan Breunig
2013-02-01 13:57:29 +01:00
parent ea579dddd0
commit ca6879e8b9
2 changed files with 8 additions and 6 deletions

View File

@ -28,8 +28,9 @@ window.setupStyles = function() {
[ '#largepreview.res img { border:2px solid '+COLORS[TEAM_RES]+'; } ',
'#largepreview.enl img { border:2px solid '+COLORS[TEAM_ENL]+'; } ',
'#largepreview.none img { border:2px solid '+COLORS[TEAM_NONE]+'; } ',
'#sidebar, #updatestatus, #gamestat, #gamestat span, ' +
'input, .imgpreview img { width:'+SIDEBAR_WIDTH+'px; }'].join("\n")
'#updatestatus { width:'+(SIDEBAR_WIDTH-2*4)+'px; } ',
'#sidebar, #gamestat, #gamestat span, input, ',
'.imgpreview img { width:'+SIDEBAR_WIDTH+'px; }'].join("\n")
+ '</style>');
}