LP1940962: Improve stock carousel display
authorJason Boyer <JBoyer@equinoxOLI.org>
Tue, 24 Aug 2021 14:59:11 +0000 (10:59 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 23 Sep 2021 14:26:10 +0000 (10:26 -0400)
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 <JBoyer@equinoxOLI.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2
Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/misc_util.tt2

index be31364..a40c8eb 100755 (executable)
@@ -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
+}
index 86f267d..959a3f9 100755 (executable)
     config = {
         animated => 0,
         animation_interval => 5,
-        width => 4,
+        width => 5,
         sm_width => 3,
         xs_width => 2,
     };
index 18cb688..55917c2 100644 (file)
@@ -3428,7 +3428,7 @@ label[for*=expert_]
 */
 
 .carousel {
-    width: 40%;
+    width: 80%;
     margin: 0 auto;
 }
 .carousel-title {
index 7dd4950..283bcb0 100644 (file)
     config = {
         animated => 0,
         animation_interval => 5,
-        width => 4,
+        width => 5,
         sm_width => 3,
         xs_width => 2,
     };