I am currently working with Bootstrap 5 and facing an issue while displaying a calendar on the screen. The height of the container appears to be around 25% longer than the screen height. I have tried setting the height to "100%" and "80%" in the CSS, but it did not work as expected.
CSS:
.sectionHeight {
height: 100vh;
width: auto;
}
HTML:
<div id="calendarAdmin" class="container sectionHeight" style="background-repeat: repeat; background-image: url('images/body-bg.jpg');">
<div id="includedContent"></div>
<div class="col-lg-12 col-md-12 col-sm-12 col-12 beta">
<h3>Full Calendar</h3>
<div style="text-align: center;">
<span id="ajaxGetUserServletResponse1" style="color: red; background-color: white;"></span>
</div>
<div id="loader"><img src="images/spinner.gif"/></div><!-- loading spinner -->
<div class="whiteBackground" id="calendar"></div>
</div>
</div>