mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Account for gaps in grid container's intrinsic size calculation
Fixes https://github.com/SerenityOS/serenity/issues/22804
This commit is contained in:
parent
f529188fb8
commit
6a4dd8fa47
3 changed files with 52 additions and 2 deletions
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html><style type="text/css">
|
||||
* {
|
||||
outline: 1px solid black;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
html {
|
||||
background: white;
|
||||
}
|
||||
body {
|
||||
width: max-content;
|
||||
background: pink;
|
||||
}
|
||||
#menu {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
gap: 50px;
|
||||
background: orange;
|
||||
}
|
||||
#wat {
|
||||
background: green;
|
||||
}
|
||||
</style><body><div id="menu"><div>Community</div><div>Community</div></div><div id="wat">wat</div>
|
Loading…
Add table
Add a link
Reference in a new issue