Layout fixes for library and Now Playing screens

This commit is contained in:
Albert Santoni 2015-04-29 13:41:52 -04:00
parent 49456318ff
commit f382b1338f
2 changed files with 6 additions and 6 deletions

View file

@ -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()