From: Bill Erickson Date: Tue, 16 Jun 2015 02:29:25 +0000 (-0400) Subject: LP#1464767 Browser client scrollable selectors X-Git-Tag: sprint4-merge-nov22~759 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1405801a19f39e1266f4d9a4d1dc16861c2936dc;p=working%2FEvergreen.git LP#1464767 Browser client scrollable selectors Adds a new scrollable-menu CSS class. It's (provisionally?) limited to larger screens, w/ the assumption that smaller screens handle scrolling for you. New class is applied to org unit selects only so far. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier Conflicts: Open-ILS/src/templates/staff/css/style.css.tt2 Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 0a0ba3b2b2..80fb47afeb 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -420,6 +420,15 @@ table.list tr.selected td { /* deprecated? */ } } +@media all and (min-width: 800px) { + /* scrollable menus for full-size screens */ + .scrollable-menu { + height: auto; + max-height: 200px; + overflow-x: hidden; + } +} + [%# vim: ft=css %] diff --git a/Open-ILS/web/js/ui/default/staff/services/ui.js b/Open-ILS/web/js/ui/default/staff/services/ui.js index 9cd0abc3b4..af64ef4439 100644 --- a/Open-ILS/web/js/ui/default/staff/services/ui.js +++ b/Open-ILS/web/js/ui/default/staff/services/ui.js @@ -299,7 +299,7 @@ function($modal, $interpolate) { + '{{getSelectedName()}}' + '' + '' - + '