From bf1901b28d64bc726b8177baab1daad36e27d0f5 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Thu, 22 Jul 2021 19:33:38 -0400 Subject: [PATCH] My Account - Cover image on mobile This fixes an alignment issue with viewing the cover image on mobile devices in the My Account pages. Signed-off-by: Terran McCanna --- .../opac/css/mediaQuery.css.tt2 | 39 ++++++++++++---------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 b/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 index a79ca959ff..ba0ac60f2f 100644 --- a/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 @@ -669,21 +669,23 @@ only screen and (max-width: 650px) { } table#acct_checked_main_header td:nth-of-type(1) { border-top: 5px solid #aaa; padding-top: 15px; background-color: #fff;} - table#acct_checked_main_header td:nth-of-type(2):before { content: "[% l('Title') %]";} - table#acct_checked_main_header td:nth-of-type(3):before { content: "[% l('Author') %]"; } - table#acct_checked_main_header td:nth-of-type(4):before { content: "[% l('Renewals Left') %]"; } - table#acct_checked_main_header td:nth-of-type(5):before { content: "[% l('Due Date') %]"; } - table#acct_checked_main_header td:nth-of-type(6):before { content: "[% l('Barcode') %]"; } - table#acct_checked_main_header td:nth-of-type(7):before { content: "[% l('Call number') %]"; } + table#acct_checked_main_header td:nth-of-type(2):before { content: "[% l('Cover') %]";} + table#acct_checked_main_header td:nth-of-type(3):before { content: "[% l('Title') %]";} + table#acct_checked_main_header td:nth-of-type(4):before { content: "[% l('Author') %]"; } + table#acct_checked_main_header td:nth-of-type(5):before { content: "[% l('Renewals Left') %]"; } + table#acct_checked_main_header td:nth-of-type(6):before { content: "[% l('Due Date') %]"; } + table#acct_checked_main_header td:nth-of-type(7):before { content: "[% l('Barcode') %]"; } + table#acct_checked_main_header td:nth-of-type(8):before { content: "[% l('Call number') %]"; } table#acct_checked_hist_header td:nth-of-type(1) { border-top: 5px solid #aaa; padding-top: 15px; background-color: #fff;} - table#acct_checked_hist_header td:nth-of-type(2):before { content: "[% l('Title') %]";} - table#acct_checked_hist_header td:nth-of-type(3):before { content: "[% l('Author') %]"; } - table#acct_checked_hist_header td:nth-of-type(4):before { content: "[% l('Checkout Date') %]"; } - table#acct_checked_hist_header td:nth-of-type(5):before { content: "[% l('Due Date') %]"; } - table#acct_checked_hist_header td:nth-of-type(6):before { content: "[% l('Date Returned') %]"; } - table#acct_checked_hist_header td:nth-of-type(7):before { content: "[% l('Barcode') %]"; } - table#acct_checked_hist_header td:nth-of-type(8):before { content: "[% l('Call number') %]"; } + table#acct_checked_hist_header td:nth-of-type(2):before { content: "[% l('Cover') %]";} + table#acct_checked_hist_header td:nth-of-type(3):before { content: "[% l('Title') %]";} + table#acct_checked_hist_header td:nth-of-type(4):before { content: "[% l('Author') %]"; } + table#acct_checked_hist_header td:nth-of-type(5):before { content: "[% l('Checkout Date') %]"; } + table#acct_checked_hist_header td:nth-of-type(6):before { content: "[% l('Due Date') %]"; } + table#acct_checked_hist_header td:nth-of-type(7):before { content: "[% l('Date Returned') %]"; } + table#acct_checked_hist_header td:nth-of-type(8):before { content: "[% l('Barcode') %]"; } + table#acct_checked_hist_header td:nth-of-type(9):before { content: "[% l('Call number') %]"; } table#acct_holds_main_header td:nth-of-type(1) { border-top: 5px solid #aaa; padding-top: 15px; background-color: #fff;} table#acct_holds_main_header td:nth-of-type(2):before { content: "[% l('Title') %]";} @@ -694,11 +696,12 @@ only screen and (max-width: 650px) { table#acct_holds_main_header td:nth-of-type(7):before { content: "[% l('Status') %]"; } table#acct_holds_main_header td.hold_notes:before { content: "[% l('Notes') %]"; } - table#acct_holds_hist_header td:nth-of-type(1):before { content: "[% l('Title') %]";} - table#acct_holds_hist_header td:nth-of-type(2):before { content: "[% l('Author') %]"; } - table#acct_holds_hist_header td:nth-of-type(3):before { content: "[% l('Format') %]"; } - table#acct_holds_hist_header td:nth-of-type(4):before { content: "[% l('Pickup Location') %]"; } - table#acct_holds_hist_header td:nth-of-type(8):before { content: "[% l('Status') %]"; } + table#acct_holds_hist_header td:nth-of-type(1):before { content: "[% l('Cover') %]";} + table#acct_holds_hist_header td:nth-of-type(2):before { content: "[% l('Title') %]"; } + table#acct_holds_hist_header td:nth-of-type(3):before { content: "[% l('Author') %]"; } + table#acct_holds_hist_header td:nth-of-type(4):before { content: "[% l('Format') %]"; } + table#acct_holds_hist_header td:nth-of-type(5):before { content: "[% l('Pickup Location') %]"; } + table#acct_holds_hist_header td:nth-of-type(6):before { content: "[% l('Status') %]"; } table#ebook_circs_main_table td:nth-of-type(1):before { content: "[% l('Title') %]"; } table#ebook_circs_main_table td:nth-of-type(2):before { content: "[% l('Author') %]"; } -- 2.11.0