mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 20:15:08 +00:00

This change fixes the function that calculates the number of auto-fill tracks, ensuring it uses height when applied to rows, instead of assuming that it always operates on columns.
9 lines
No EOL
248 B
HTML
9 lines
No EOL
248 B
HTML
<!DOCTYPE html><html><style>
|
|
* {
|
|
outline: 1px solid black;
|
|
}
|
|
.grid-container {
|
|
display: grid;
|
|
grid-template-rows: repeat(auto-fill, 200px);
|
|
}
|
|
</style><div class="grid-container"><div>Item 1</div><div>Item 2</div><div>Item 3</div></html> |