]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC: Reduce vertical space in results paginator
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 02:29:23 +0000 (22:29 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:45:12 +0000 (18:45 -0400)
commit480602d8e706a38d390113614127f870582ce565
tree32ef01af7c58a2ff0ea5897807da6f05b33579d8
parentce5504d8e64433f6e948920092c5c96cf0558634
TPAC: Reduce vertical space in results paginator

An unnecessary span element with inline CSS results in additional blank
vertical space being generated for searches with only one page of
results. Avoid creating the span (which would normally contain the list
of pages), move the CSS to the style sheet, and use ems rather than
hard-coded px values for the padding to adjust relative to the font
size.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/result/paginate.tt2