From f351643d29343957c50bd7ced3df9afd695bca2b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 1 Jul 2016 22:16:05 -0400 Subject: [PATCH] reduce stdout redirection --- .../emby-webcomponents/actionsheet/actionsheet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.js b/dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.js index f912b2a49f..ac15e2ac4a 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.js +++ b/dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.js @@ -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 += '
';