LP1979080 Lengthy titles in a carousel should be truncated. user/gcollum/lp1979080_truncate_lengthy_titles_in_carousels
authorGarry Collum <gcollum@gmail.com>
Fri, 17 Jun 2022 17:39:36 +0000 (17:39 +0000)
committerGarry Collum <gcollum@gmail.com>
Fri, 17 Jun 2022 17:39:36 +0000 (17:39 +0000)
commit828689dfb75ea5efc14230982e83b37331eb1f47
tree77ffb953fb366f78ca31807825833b4772f2c62e
parent2678ee1dfcc448968ba8e8ae7fd0da1bc69eeecf
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>
Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2