mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
xmltv fixes
This commit is contained in:
parent
0623156e11
commit
e8739bf7c3
1 changed files with 7 additions and 2 deletions
|
@ -142,8 +142,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var scrollType = layoutManager.desktop ? 'smoothScrollY' : 'hiddenScrollY';
|
var scrollType = layoutManager.desktop ? 'smoothScrollY' : 'hiddenScrollY';
|
||||||
var style = (browser.noFlex || browser.firefox) ? ' style="max-height:400px;"' : '';
|
var style = (browser.noFlex || browser.firefox) ? 'max-height:400px;' : '';
|
||||||
html += '<div class="actionSheetScroller ' + scrollType + '"' + style + '>';
|
|
||||||
|
// Admittedly a hack but right now the scrollbar is being factored into the width which is causing truncation
|
||||||
|
if (options.items.length > 20) {
|
||||||
|
style += "min-width:200px;";
|
||||||
|
}
|
||||||
|
html += '<div class="actionSheetScroller ' + scrollType + '" style="' + style + '">';
|
||||||
|
|
||||||
var i, length, option;
|
var i, length, option;
|
||||||
var renderIcon = false;
|
var renderIcon = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue