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

reduce stdout redirection

This commit is contained in:
Luke Pulverenti 2016-07-01 22:16:05 -04:00
parent 03f6628c2f
commit f351643d29

View file

@ -146,7 +146,8 @@
// 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;";
var minWidth = window.innerWidth >= 300 ? 240 : 200;
style += "min-width:" + minWidth + "px;";
}
html += '<div class="actionSheetScroller ' + scrollType + '" style="' + style + '">';