Dropdown menus that appear at the bottom of the page in the web client had some
usability issues because their contents fell below the screen. This commit
adds a little space at the bottom of all web client pages and also makes
three bottom-of-the-page menus "drop up" instead of down. The three menus
are the stat-cat menus that appear at the bottom of the user registration
form, the Z39.50 actions menu, and the create reports template actions menu.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
items-provider="z3950SearchGridProvider"
grid-controls="gridControls"
persist-key="cat.z3950_results"
- dateformat="{{$root.egDateAndTimeFormat}}">
+ dateformat="{{$root.egDateAndTimeFormat}}"
+ class="dropup">
<eg-grid-menu-item handler="showInCatalog" disabled="cant_showInCatalog"
label="[% l('Show in Catalog') %]"></eg-grid-menu-item>
</div>
<div class="col-md-3 reg-field-input">
<div ng-if="cat.entries().length != 0">
- <div class="btn-group" uib-dropdown>
+ <div class="btn-group dropup" uib-dropdown>
<button type="button" class="btn btn-default" ng-class="{'ng-invalid': cat.required() == 1 && !stat_cat_entry_maps[cat.id()] }" uib-dropdown-toggle>
<span style="padding-right: 5px;">
{{stat_cat_entry_maps[cat.id()]}}</span>
+/* Create some padding at bottom of the page for breathing room */
+body { padding-bottom: 50px; }
+
/* --------------------------------------------------------------------------
* Simple default navbar style adjustements to apply the Evergreen color.
* TODO: style other components to match EG color scheme
features="-sort,-multisort,-multiselect"
items-provider="grid_display_fields_provider"
grid-controls="display_grid_controls"
+ class="dropup"
>
<eg-grid-action
handler="changeDisplayLabel"