]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1868147-Titles in carousel run together in mobile display.
authorGarry Collum <gcollum@gmail.com>
Thu, 17 Dec 2020 18:47:41 +0000 (13:47 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 3 Feb 2021 15:25:52 +0000 (10:25 -0500)
commit68d21276d952d6fea3879c3d6eab42c8eeca051e
tree284d20ee16b4e400a6a498a3ce2b1854fc5dddcd
parent4ad1c5fe733e7b4933e4f96ef26b889cb93cb515
LP1868147-Titles in carousel run together in mobile display.

This patch uses the breakpoint option available in glide.js to limit the number of images in the carousel that display.

If a screen's width is set between 768-992 pixels, 3 images display in the carousel,
if the width is below 768 pixels, only 2 images display in the carousel.
The reduction of images helps with titles overlapping each other.

To test:
Apply the patch to an instance of Evergreen that displays carousels.
Reduce the screen size of the browser.  Eventually the carousel will display 3 and then 2 images.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/parts/misc_util.tt2