Skip to content
Permalink
Browse files

Fix collapsing margins for columns

  • Loading branch information...
liZe committed Sep 10, 2019
1 parent 0c7a77f commit e7c452ce80258416058d27d99b8f933534c04f4b
Showing with 1 addition and 0 deletions.
  1. +1 −0 weasyprint/layout/columns.py
@@ -35,6 +35,7 @@ def columns_layout(context, box, max_position_y, skip_stack, containing_block,
absolute_boxes = []

box = box.copy_with_children(box.children)
box.position_y += collapse_margin(adjoining_margins) - box.margin_top

height = box.style['height']
if height != 'auto' and height.unit != '%':

0 comments on commit e7c452c

Please sign in to comment.
You can’t perform that action at this time.