fix: testimonial cards height and shadows
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="testimonial-review">
|
||||
"{{ review.review }}"
|
||||
{{ review.review }}
|
||||
</div>
|
||||
</div>
|
||||
{% if loop.index % 3 == 0 or loop.index == testimonials_table | length %} </div> </div> {% endif %}
|
||||
@@ -45,17 +45,3 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
frappe.ready(() => {
|
||||
|
||||
let max_height = 0;
|
||||
|
||||
$(".carousel-item").each((i, item) => {
|
||||
if (max_height < $(item).height()) {
|
||||
max_height = $(item).height();
|
||||
}
|
||||
});
|
||||
|
||||
$(".carousel-inner").css("height", max_height);
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user