1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibWeb: Fix accounting for gaps in auto-fit count calculation in GFC

Fixes a bug where gaps between repeated tracks were accounted for only
once instead of multiple times, corresponding to the repeat count.

Fixes https://github.com/SerenityOS/serenity/issues/22823
This commit is contained in:
Aliaksandr Kalenik 2024-01-17 14:43:04 +01:00 committed by Andreas Kling
parent 13f007aadb
commit 0a09ff698f
3 changed files with 46 additions and 11 deletions

View file

@ -0,0 +1,13 @@
<!DOCTYPE html><style>
* {
outline: 1px solid black;
}
body {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(2ch, max-content));
column-gap: 50px;
}
div {
background: pink;
}
</style><body><div>Explore</div><div>Wiki Content</div>