From 2cd2a9817e0a887865402c4b5dd8fd9660bd573a Mon Sep 17 00:00:00 2001 From: Bill Erickson <berick@esilibrary.com> Date: Thu, 3 Nov 2011 10:18:12 -0400 Subject: [PATCH] TPac; reduce vertical space caused by chilifresh link CSS loaded from chilifresh forces a fixed height on the .chili_review class, which causes significant vertical space gobbling in the results and details pages. Solution is to change the chili_review container from a <div> to a <span>, where the height has no effect. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> --- Open-ILS/src/templates/opac/parts/record/awards.tt2 | 2 +- Open-ILS/src/templates/opac/parts/result/table.tt2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/awards.tt2 b/Open-ILS/src/templates/opac/parts/record/awards.tt2 index 68d93cea30..94c72a24d6 100644 --- a/Open-ILS/src/templates/opac/parts/record/awards.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/awards.tt2 @@ -4,7 +4,7 @@ <!-- Chilifresh patron reviews --> <strong>[% l('Patron Reviews:') %]</strong> <div style="margin-bottom:20px;"> - <div class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </div> + <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span> <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div> </div> diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 1e6b20d420..83e69b9f9b 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -243,7 +243,7 @@ <tr> <td/> <td align='center'> <!-- Chilifresh reviews link --> - <div class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </div> + <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span> </td> </tr> <tr> -- 2.11.0