TPac; reduce vertical space caused by chilifresh link
authorBill Erickson <berick@esilibrary.com>
Thu, 3 Nov 2011 14:18:12 +0000 (10:18 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 15 Nov 2011 17:00:33 +0000 (12:00 -0500)
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
Open-ILS/src/templates/opac/parts/result/table.tt2

index 68d93ce..94c72a2 100644 (file)
@@ -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>
     
index 1e6b20d..83e69b9 100644 (file)
                                         <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>