1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update sort menu

This commit is contained in:
Luke Pulverenti 2016-02-26 23:39:11 -05:00
parent 73f153405c
commit 22bf2c2268
5 changed files with 9 additions and 27 deletions

View file

@ -47,7 +47,7 @@
margin: 4px;
}
@media all and (max-width: 800px) {
@media all and (max-width: 600px) {
.cardBox {
margin: 1px;

View file

@ -365,22 +365,3 @@ video::-webkit-media-text-track-background {
/*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;
}

View file

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

View file

@ -52,7 +52,7 @@
options.Limit = screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : 6);
if (enableScrollX()) {
options.Limit = 12;
options.Limit = 16;
}
}

View file

@ -2947,7 +2947,11 @@
dlg.innerHTML = html;
document.body.appendChild(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 () {