Layout fixes for library and Now Playing screens
This commit is contained in:
parent
49456318ff
commit
f382b1338f
|
@ -1458,7 +1458,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
.find(".dataTables_scrolling")
|
.find(".dataTables_scrolling")
|
||||||
.css("max-height", libTableHeight)
|
.css("max-height", libTableHeight)
|
||||||
.end()
|
.end()
|
||||||
.width(Math.floor(width * 0.55));
|
.width(Math.floor(width * 0.54));
|
||||||
|
|
||||||
$pl.height(widgetHeight)
|
$pl.height(widgetHeight)
|
||||||
.width(Math.floor(width * 0.45));
|
.width(Math.floor(width * 0.45));
|
||||||
|
|
|
@ -53,7 +53,7 @@ AIRTIME = (function(AIRTIME) {
|
||||||
function setWidgetSize() {
|
function setWidgetSize() {
|
||||||
viewport = AIRTIME.utilities.findViewportDimensions();
|
viewport = AIRTIME.utilities.findViewportDimensions();
|
||||||
widgetHeight = viewport.height - 180;
|
widgetHeight = viewport.height - 180;
|
||||||
screenWidth = Math.floor(viewport.width - 40);
|
screenWidth = Math.floor(viewport.width - 50);
|
||||||
|
|
||||||
var libTableHeight = widgetHeight - 175,
|
var libTableHeight = widgetHeight - 175,
|
||||||
builderTableHeight = widgetHeight - 95,
|
builderTableHeight = widgetHeight - 95,
|
||||||
|
@ -77,9 +77,9 @@ AIRTIME = (function(AIRTIME) {
|
||||||
|
|
||||||
if ($lib.filter(':visible').length > 0) {
|
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")
|
.find("#sb_edit")
|
||||||
.remove()
|
.remove()
|
||||||
.end()
|
.end()
|
||||||
|
|
Loading…
Reference in New Issue