My Angular HTML form includes a grid setup, defined as follows:
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 2%;
grid-auto-rows: 90%;
}
This grid creates two parallel rectangles. I have divs in place to display data within these rectangles, each including a button at the bottom. However, when one of the divs does not have any data to display, the buttons move up the grid. I want the buttons to stay fixed at the bottom of the grid, regardless of whether the div above them contains data or not. How can I achieve this?