diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js index ff0902dc8..8d23dc7f3 100644 --- a/airtime_mvc/public/js/airtime/library/spl.js +++ b/airtime_mvc/public/js/airtime/library/spl.js @@ -1445,7 +1445,7 @@ var AIRTIME = (function(AIRTIME){ initialEvents(); setUpPlaylist(); }; - + function setWidgetSize() { viewport = AIRTIME.utilities.findViewportDimensions(); widgetHeight = viewport.height - 185; @@ -1458,7 +1458,7 @@ var AIRTIME = (function(AIRTIME){ .find(".dataTables_scrolling") .css("max-height", libTableHeight) .end() - .width(Math.floor(width * 0.55)); + .width(Math.floor(width * 0.54)); $pl.height(widgetHeight) .width(Math.floor(width * 0.45)); diff --git a/airtime_mvc/public/js/airtime/showbuilder/main_builder.js b/airtime_mvc/public/js/airtime/showbuilder/main_builder.js index 625464bb0..d83fe006e 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/main_builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/main_builder.js @@ -53,8 +53,8 @@ AIRTIME = (function(AIRTIME) { function setWidgetSize() { viewport = AIRTIME.utilities.findViewportDimensions(); widgetHeight = viewport.height - 180; - screenWidth = Math.floor(viewport.width - 40); - + screenWidth = Math.floor(viewport.width - 50); + var libTableHeight = widgetHeight - 175, builderTableHeight = widgetHeight - 95, oTable; @@ -77,9 +77,9 @@ AIRTIME = (function(AIRTIME) { if ($lib.filter(':visible').length > 0) { - $lib.width(Math.floor(screenWidth * 0.48)); + $lib.width(Math.floor(screenWidth * 0.47)); - $builder.width(Math.floor(screenWidth * 0.48)) + $builder.width(Math.floor(screenWidth * 0.47)) .find("#sb_edit") .remove() .end()