mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
359e84bd6b
3 changed files with 11 additions and 7 deletions
|
@ -42,13 +42,17 @@
|
|||
}
|
||||
|
||||
.actionSheetMenuItem {
|
||||
padding: .8em 1.6em;
|
||||
padding: 0 1.6em;
|
||||
margin: 0;
|
||||
text-transform: none;
|
||||
text-align: inherit;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-weight: inherit;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.actionSheetItemText {
|
||||
padding: .8em 0;
|
||||
}
|
||||
|
||||
.layout-tv .actionSheetMenuItem {
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
var option = options.items[i];
|
||||
|
||||
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) {
|
||||
html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>';
|
||||
|
@ -168,7 +168,7 @@
|
|||
else if (renderIcon && !center) {
|
||||
html += '<iron-icon class="actionSheetItemIcon"></iron-icon>';
|
||||
}
|
||||
html += '<span>' + option.name + '</span>';
|
||||
html += '<div class="actionSheetItemText">' + option.name + '</div>';
|
||||
html += '</' + itemTagName + '>';
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
};
|
||||
|
||||
if (stream.Index == currentIndex) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
|
@ -166,7 +166,7 @@
|
|||
};
|
||||
|
||||
if (o.selected) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
|
@ -234,7 +234,7 @@
|
|||
};
|
||||
|
||||
if (stream.Index == currentIndex) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue