From 1419de51d949afd4d573c0407d0ae6fd96e5d25d Mon Sep 17 00:00:00 2001 From: Adam Bowling Date: Tue, 20 Jan 2015 16:54:11 -0500 Subject: [PATCH] LP #1406350 Mobile Device Navigation Issue Fix for Shelf Browser Currently, when a browser window is narrowed too much, whether in a mobile browser, or on a desktop or laptop machine, the "Previous Page" and "Next Page" navigation links disappear. The only solution that seems to solve this is by removing the "THEAD" element from the shelf browser table. This patch removes that tag, adds a new row to imitate a new border as existed before, and modifies the CSS in .../opac/ css/style.css.tt2 to address that difference. Signed-off-by: Adam Bowling Signed-off-by: Yamil Suarez Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/css/style.css.tt2 | 4 +++- Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 416e573581..9c30244a22 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1200,8 +1200,10 @@ a.dash-link:hover { text-decoration: underline !important; } .expert-search-row { padding-top: 10px; } #adv_expert_row label { font-weight: bold; } -.bookshelf thead tr td { +.bookshelf tr.browse_border td { border-bottom: 1px dashed [% css_colors.accent_dark %]; + font-size: 1px; + height: 1px; padding-bottom: 1ex; } .cn_browse_item { padding: 2ex; } diff --git a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 index 51ef1adf4b..835eab3145 100644 --- a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 @@ -9,7 +9,6 @@ [% l("You are now browsing [_1]", ctx.browsing_ou.name) | html %]

- - + + + [%- tr_open = 0; PROCESS get_library; -- 2.11.0
[% l("Next Page >>") %]