Skip to content

Commit

Permalink
CONCD-745 weird case where the dialog is still squished
Browse files Browse the repository at this point in the history
  • Loading branch information
rasarkar committed Mar 27, 2024
1 parent 8b145db commit 6e53aa9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion concordia/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,11 @@ <h2 class="h3 font-weight-normal text-center text-lg-left">Follow
return $(this).height();
});
var maxHeight = Math.max.apply(this, heights);
$carouselItems.height(maxHeight);
if (maxHeight > 0) {
$carouselItems.height(maxHeight);
} else {
$carouselItems.height("541.2px");
}
}
</script>

Expand Down

0 comments on commit 6e53aa9

Please sign in to comment.