Schedule builder - fixing cell alignment #3154

Noticed that it's actually not merging cell style with col style as I did before but just prioritizing cell style if it's defined
This commit is contained in:
Andrej730
2023-05-16 15:24:39 +05:00
parent 26a3fe8a5d
commit c51c3e5e3c
@@ -243,7 +243,7 @@ class Scheduler:
p_tags = td.getElementsByType(P)
col_style = self.get_style(column_styles[tdi], styles)
final_cell_style = col_style | cell_style
final_cell_style = cell_style or col_style
box_alignment = self.get_box_alignment(final_cell_style)
wrap_text = final_cell_style.get("wrap-option", None) == "wrap"
if p_tags: