From: Jason Boyer Date: Tue, 24 Aug 2021 14:59:11 +0000 (-0400) Subject: LP1940962: Improve stock carousel display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=492ffd806be7eb7d1cb3f9fd92e9b9f274a95644;p=evergreen%2Fpines.git LP1940962: Improve stock carousel display Allow carousels to take up 80% of the home page width and raise the default size to 5 titles so it doesn't look silly. Signed-off-by: Jason Boyer Signed-off-by: Josh Stompro Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 index be31364e27..a40c8eb28b 100755 --- a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 @@ -3836,7 +3836,7 @@ label[for*=expert_] */ .carousel { - width: 40%; + width: 80%; margin: 0 auto; } .carousel-title { @@ -3868,10 +3868,10 @@ label[for*=expert_] display: inline-block; } .carousel .glide__arrow--right { - right: -8em; + right: -6em; } .carousel .glide__arrow--left { - left: -8em; + left: -6em; } .search-filter{ @@ -4040,4 +4040,4 @@ padding: 15px; #course_material_table td, #course_material_table th { padding: 4px; -} \ No newline at end of file +} diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2 index 86f267dda1..959a3f91d0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2 @@ -807,7 +807,7 @@ config = { animated => 0, animation_interval => 5, - width => 4, + width => 5, sm_width => 3, xs_width => 2, }; diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 18cb68808c..55917c255a 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -3428,7 +3428,7 @@ label[for*=expert_] */ .carousel { - width: 40%; + width: 80%; margin: 0 auto; } .carousel-title { diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 7dd4950748..283bcb098c 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -808,7 +808,7 @@ config = { animated => 0, animation_interval => 5, - width => 4, + width => 5, sm_width => 3, xs_width => 2, };