I am facing an issue with two Bootstrap cards stacked vertically but not being responsive in height. When I place them inside a parent div with a fixed height, the lower card containing a table exceeds the set height. To better illustrate this problem, I have created a sample here: https://stackblitz.com/edit/bootstrap-8h1b14?file=app/app.component.css
My goal is to have two vertically aligned responsive cards that fit within the parent div without resorting to hardcoding calculations. I'm struggling to find the ideal solution.