I have a grid with 1 row and I want that row to span the entire length of the page (or more if there is content inside that is longer than the length of the page). Height 100% is not working nor setting template-rows to 1fr.
HTML:
<div>
<div className="grid calendar">
<div className="grid-item">
Some content will be inside each of these
</div>
<div className="grid-item"></div>
<div className="grid-item"></div>
<div className="grid-item"></div>
<div className="grid-item"></div>
<div className="grid-item"></div>
<div className="grid-item"></div>
</div>
</div>
CSS:
.grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-template-rows: 1fr;
grid-column-gap: 10px;
height: 100%;
}
.grid-item {
border-left: 4px #e5e7eb solid;
}