Skip to content

Commit

Permalink
fix: align conditions to center again
Browse files Browse the repository at this point in the history
  • Loading branch information
micha91 committed Oct 29, 2024
1 parent f63df28 commit 90edb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/converters/element_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def get_condition(cap: m.ModelElement, name: str) -> str:
if not (condition := getattr(cap, name)):
return ""
_, value, _ = self._sanitize_linked_text(condition)
return value
return f'<div style="text-align: center;">{value}</div>'

pre_condition = get_condition(obj, "precondition")
post_condition = get_condition(obj, "postcondition")
Expand Down

0 comments on commit 90edb0b

Please sign in to comment.