diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/layout.c b/render/layout.c index 4e6427b9a..f428ae36d 100644 --- a/render/layout.c +++ b/render/layout.c @@ -237,6 +237,8 @@ unsigned long layout_block_children(struct box * box, unsigned long width, struc c->y = y; layout_node(c, width, cont, cx, cy + y); y = c->y + c->height; + if (box->width < c->width) + box->width = c->width; } return y; } |