mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Use grid item *outer* size when calculating minimum contribution
Previously we used the border box, which meant that tracks did not grow to accommodate item margins.
This commit is contained in:
parent
741c7aef21
commit
867e04768e
4 changed files with 33 additions and 15 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html><style>
|
||||
* { border: 1px solid black; }
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr min(89ch, 100% - 89px) 1fr;
|
||||
}
|
||||
h1 {
|
||||
grid-column: 2 / auto;
|
||||
}
|
||||
</style><body><h1>Null publishes fine indie games</h1>
|
Loading…
Add table
Add a link
Reference in a new issue