Skip to content

Commit

Permalink
update components
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Jun 29, 2016
1 parent 65c4bda commit 02e6727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['dialogHelper', 'layoutManager', 'globalize', 'emby-button', 'css!./actionsheet', 'material-icons', 'scrollStyles'], function (dialogHelper, layoutManager, globalize) {
define(['dialogHelper', 'layoutManager', 'globalize', 'browser', 'emby-button', 'css!./actionsheet', 'material-icons', 'scrollStyles'], function (dialogHelper, layoutManager, globalize, browser) {

function parentWithClass(elem, className) {

Expand Down Expand Up @@ -142,8 +142,8 @@
}

var scrollType = layoutManager.desktop ? 'smoothScrollY' : 'hiddenScrollY';

html += '<div class="actionSheetScroller ' + scrollType + '">';
var style = (browser.noFlex || browser.firefox) ? ' style="max-height:400px;"' : '';
html += '<div class="actionSheetScroller ' + scrollType + '"' + style + '>';

var i, length, option;
var renderIcon = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

[is="emby-button"].noflex {
display: inline-block;
white-space: nowrap;
}

[is="emby-button"].fab.mini:not(.autoSize) {
Expand Down

0 comments on commit 02e6727

Please sign in to comment.