diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 9abe96b205..baa6ecebca 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -47,7 +47,7 @@ margin: 4px; } -@media all and (max-width: 800px) { +@media all and (max-width: 600px) { .cardBox { margin: 1px; diff --git a/dashboard-ui/css/mediaplayer-video.css b/dashboard-ui/css/mediaplayer-video.css index 301095f128..1e02891828 100644 --- a/dashboard-ui/css/mediaplayer-video.css +++ b/dashboard-ui/css/mediaplayer-video.css @@ -364,23 +364,4 @@ video::-webkit-media-text-track-background { #videoPlayer:not(.idlePlayer) video:not([controls])::-webkit-media-text-track-display { /*Style the text itself*/ margin-top: -2.5em; -} - -.videoSubtitles { - position: fixed; - z-index: 99997; - bottom: 10%; - text-align: center; - font-size: 400%; - left: 0; - right: 0; - color: #fff; -} - -.videoSubtitlesInner { - max-width: 70%; - background-color: rgba(0,0,0,.8); - padding: .25em; - margin: auto; - display: inline-block; -} +} \ No newline at end of file diff --git a/dashboard-ui/scripts/externalplayer.js b/dashboard-ui/scripts/externalplayer.js index 77af6457b6..91bf8eb96e 100644 --- a/dashboard-ui/scripts/externalplayer.js +++ b/dashboard-ui/scripts/externalplayer.js @@ -400,14 +400,11 @@ function getExternalPlayers(url, mimeType) { - var deferred = $.Deferred(); - var players = [ { name: 'Vlc', url: 'vlc://' + url, id: 'vlc' } ]; - deferred.resolveWith(null, [players]); - return deferred.promise(); + return Promise.resolve(players); } function showPlayerSelectionMenu(item, url, mimeType) { diff --git a/dashboard-ui/scripts/favorites.js b/dashboard-ui/scripts/favorites.js index f790b4a7a6..305a2b65ee 100644 --- a/dashboard-ui/scripts/favorites.js +++ b/dashboard-ui/scripts/favorites.js @@ -52,7 +52,7 @@ options.Limit = screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : 6); if (enableScrollX()) { - options.Limit = 12; + options.Limit = 16; } } diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index fcb6cb7ddd..8a06dc9250 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2947,7 +2947,11 @@ dlg.innerHTML = html; document.body.appendChild(dlg); - paperDialogHelper.open(dlg); + // Seeing an issue in Firefox and IE where it's initially visible in the bottom right, then moves to the center + var delay = browserInfo.animate ? 0 : 100; + setTimeout(function() { + paperDialogHelper.open(dlg); + }, delay); $('.groupSortBy', dlg).on('iron-select', function () {