]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1979080 Lengthy titles in a carousel should be truncated.
authorGarry Collum <gcollum@gmail.com>
Fri, 17 Jun 2022 17:39:36 +0000 (17:39 +0000)
committerJane Sandberg <sandbergja@gmail.com>
Mon, 5 Sep 2022 18:04:56 +0000 (11:04 -0700)
commit59772306ea8fa248464ee254bde8b13a54536e80
tree34277fb305aa28e836e6ad5f60be25dd4f22217c
parent7c521d576b7949a1a539648d351e387fbd71ec90
LP1979080 Lengthy titles in a carousel should be truncated.

Lengthy titles in a carousel push the content that is below the carousel
down sometimes resulting in odd displays.

This patch truncates lengthy titles to 4 lines ending with an ellipsis.

To test.

1. Create a couple of manual carousels and populate them with some bibs that
have lengthy titles.
2. Notice that there is odd spacing below the carousels.
3. Apply the patch.
4. The lengthy titles are now truncated and end with an ellipsis.  There
is now normal spacing below the carousels.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2