Bug 31248: Fix responsiveness of tables on OPAC summary page
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Dec 2022 18:42:15 +0000 (18:42 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 19:42:38 +0000 (16:42 -0300)
commit16ce0e420ead91609892de839cae07a661f198c7
tree9af58d78cf01b0c3de8b61c3f2d7f1b01d35e725
parent2c4dbb7c1e0e8837e54ed44f453ac27473cd0c45
Bug 31248: Fix responsiveness of tables on OPAC summary page

This patch adds back the responsive styles of the tables on the OPAC summary page. This includes all of the following tables that may appear:

opac-user-checkouts
opac-user-relative-issues
opac-user-overdues
opac-user-fines
opac-user-relative-fines
opac-user-clubs
opac-user-holds
opac-user-recalls
opac-user-article-requests
opac-user-overdrive
opac-user-recordedbooks

To test:
1) Make sure you have checkouts in your account
2) Log into the OPAC
--> In 'Your summary' current checkouts are in a table
3) Go to 'You checkout history'
--> Current and previous checkouts are in a table
4) Switch to mobile view (in Firefox, Ctrl + Shift + M)
--> Checkout history is still in a table and the last column is not entirely visible (depending on the content of the columns, I suppose)
5) Go to 'Your summary'
--> Current checkouts are presented in list form instead of a table
6) Apply patch and rebuild the OPAC CSS ( https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface )
7) Try the tables again, they should appear in a list form when the screen is smaller than 608px.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss