1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 07:57:52 +03:00

Fix comment

This commit is contained in:
Guillaume Ayoub 2022-08-18 10:13:53 +02:00
parent e9c45c7060
commit ac92cac7f2

View File

@ -255,8 +255,8 @@ def columns_layout(context, box, bottom_space, skip_stack, containing_block,
stop_rendering = True stop_rendering = True
break break
else: else:
# Everything fit, start expanding columns at the average of # Everything fits, start expanding columns at the average
# the column heights. # of the column heights.
height = sum(consumed_heights) height = sum(consumed_heights)
if style['column_fill'] == 'balance': if style['column_fill'] == 'balance':
height /= count height /= count