Skip to content

Commit e7c452c

Browse files
committed
Fix collapsing margins for columns
1 parent 0c7a77f commit e7c452c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

weasyprint/layout/columns.py

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def columns_layout(context, box, max_position_y, skip_stack, containing_block,
3535
absolute_boxes = []
3636

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

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

0 commit comments

Comments
 (0)