summaryrefslogtreecommitdiff
path: root/Ports/vim
diff options
context:
space:
mode:
authorTobias Christiansen <tobyase@serenityos.org>2021-09-18 13:45:31 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-18 15:50:47 +0200
commitd10488575739d10bb82db892b9aba6157ed76ea2 (patch)
tree89d51bc12bbddd6172092cd0b495df7a4c23fe05 /Ports/vim
parentddb7402649057696719512880c86eb7b84d8c054 (diff)
downloadserenity-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/vim')
0 files changed, 0 insertions, 0 deletions