diff options
author | Andreas Kling <kling@serenityos.org> | 2022-11-05 11:38:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-11-05 11:42:19 +0100 |
commit | 7809cc65579c52a2b3f69548bac86489ef4d2a0b (patch) | |
tree | 3f750ca34274ac04aed8ddb91dc92ec03b6cf1c7 /Userland/Utilities/ls.cpp | |
parent | ea7ce76d208c283d46b0645b823c7f742f712e90 (diff) | |
download | serenity-7809cc65579c52a2b3f69548bac86489ef4d2a0b.zip |
LibWeb: Use preferred flex item sizes as min/max-content contribution
When a flex item has a specific preferred size, that size should be its
contribution to the containers intrinsic sizes.
This fixes an issue on Patreon where the logo would cover the entire
viewport since the SVG had a large intrinsic size but the flex item
containing it had a small specified size in CSS.
Diffstat (limited to 'Userland/Utilities/ls.cpp')
0 files changed, 0 insertions, 0 deletions