diff options
author | Tobias Christiansen <tobyase@serenityos.org> | 2021-09-18 13:45:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-18 15:50:47 +0200 |
commit | d10488575739d10bb82db892b9aba6157ed76ea2 (patch) | |
tree | 89d51bc12bbddd6172092cd0b495df7a4c23fe05 /Ports/lua/.gitignore | |
parent | ddb7402649057696719512880c86eb7b84d8c054 (diff) | |
download | serenity-d10488575739d10bb82db892b9aba6157ed76ea2.zip |
LibWeb: Flexbox: Assume Block when finding max main size of flex-column
This is a hack, but it seems to do quite okay.
What we should do is to find the largest size the Box could want in its
main axis. To do that we have to layout the Box according to the needed
LayoutMode. For flex-rows we do as requested and try to make the Box as
wide as we want.
However, for flex-columns we simply assume the Box is a Block and we
calculate their height according to this.
Diffstat (limited to 'Ports/lua/.gitignore')
0 files changed, 0 insertions, 0 deletions