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

Merge pull request #1652 from MediaBrowser/dev

update quality pickers
This commit is contained in:
Luke 2016-04-16 15:22:40 -04:00
commit 359e84bd6b
3 changed files with 11 additions and 7 deletions

View file

@ -42,13 +42,17 @@
} }
.actionSheetMenuItem { .actionSheetMenuItem {
padding: .8em 1.6em; padding: 0 1.6em;
margin: 0; margin: 0;
text-transform: none; text-transform: none;
text-align: inherit; text-align: inherit;
display: flex; display: flex;
justify-content: center;
font-weight: inherit; font-weight: inherit;
align-items: center;
}
.actionSheetItemText {
padding: .8em 0;
} }
.layout-tv .actionSheetMenuItem { .layout-tv .actionSheetMenuItem {

View file

@ -160,7 +160,7 @@
var option = options.items[i]; var option = options.items[i];
var autoFocus = option.selected ? ' autoFocus' : ''; var autoFocus = option.selected ? ' autoFocus' : '';
html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '" style="display:block;">'; html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '">';
if (option.ironIcon) { if (option.ironIcon) {
html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>'; html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>';
@ -168,7 +168,7 @@
else if (renderIcon && !center) { else if (renderIcon && !center) {
html += '<iron-icon class="actionSheetItemIcon"></iron-icon>'; html += '<iron-icon class="actionSheetItemIcon"></iron-icon>';
} }
html += '<span>' + option.name + '</span>'; html += '<div class="actionSheetItemText">' + option.name + '</div>';
html += '</' + itemTagName + '>'; html += '</' + itemTagName + '>';
} }

View file

@ -115,7 +115,7 @@
}; };
if (stream.Index == currentIndex) { if (stream.Index == currentIndex) {
opt.ironIcon = "check"; opt.selected = true;
} }
return opt; return opt;
@ -166,7 +166,7 @@
}; };
if (o.selected) { if (o.selected) {
opt.ironIcon = "check"; opt.selected = true;
} }
return opt; return opt;
@ -234,7 +234,7 @@
}; };
if (stream.Index == currentIndex) { if (stream.Index == currentIndex) {
opt.ironIcon = "check"; opt.selected = true;
} }
return opt; return opt;