Within a dynamic-height parent div, I have two cards stacked on top of each other. However, the issue arises when these two cards do not completely fit inside the parent div. The problem likely stems from the table within the lower card, which is not responsive and fails to trigger overflow properly. My goal is to ensure that both cards fit neatly within the parent div, with only the table adjusting and triggering overflow as needed.
To see the issue in action, you can check out my sandbox example here: https://stackblitz.com/edit/bootstrap-8h1b14?file=app/app.component.html