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 02:29:23 +0000 (22:29 -0400)
commit28dd1fb49810609c728b1e5492f9d6d433fcec15
tree6cdf2431203fccf03c789f29d290efb84eec45f1
parent058f2702095e3e2130cc82cfeb5d6a9b541bfe80
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