TPAC: Reduce vertical space in results paginator
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 02:29:23 +0000 (22:29 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 15:20:28 +0000 (11:20 -0400)
commit9a98cf8d510d0f2af2840c7e380eb38e6bc6a6a5
tree32ef01af7c58a2ff0ea5897807da6f05b33579d8
parent37075e9f9bc7f6e2f94b78d440963f6efd09ce51
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>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/result/paginate.tt2