Skip to content

Commit

Permalink
Fix collapsing margins for columns
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Sep 10, 2019
1 parent 0c7a77f commit e7c452c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weasyprint/layout/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 != '%':
Expand Down

0 comments on commit e7c452c

Please sign in to comment.