mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibWeb: Account for auto-fill/fit when expanding grid lines in GFC
Named line placement now works when auto-fill or auto-fit is used to define grid columns.
This commit is contained in:
parent
90142ad307
commit
9c72807976
3 changed files with 38 additions and 3 deletions
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html><html lang="en"><style>
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: [start] repeat(auto-fill, minmax(100px, 1fr)) [end];
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
grid-column: start / end;
|
||||
background-color: lightblue;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
</style><div class="grid-container"><div class="grid-item">1</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue