CC-3496 : PlaylistBuilder, NowPlaying -> GUI representation gets broken while being resized

This commit is contained in:
Naomi Aro 2012-03-30 16:33:43 +02:00
parent 6ddc8288be
commit 2ab6ea98a6
2 changed files with 20 additions and 5 deletions

View file

@ -743,8 +743,13 @@ var AIRTIME = (function(AIRTIME){
viewport = AIRTIME.utilities.findViewportDimensions();
widgetHeight = viewport.height - 185;
width = Math.floor(viewport.width - 110);
var libTableHeight = widgetHeight - 130;
$lib.height(widgetHeight)
.find(".dataTables_scrolling")
.css("max-height", libTableHeight)
.end()
.width(Math.floor(width * 0.55));
$pl.height(widgetHeight)