Skip to content

Commit 292524c

Browse files
committed
Fix additional component BOM table layout
1 parent 6aa863a commit 292524c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wireviz/wv_graphviz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ def gv_additional_component_table(component):
111111
Tr(
112112
[
113113
Td(bom_bubble(subitem.bom_id)),
114-
Td(f"{subitem.bom_qty}"),
115-
Td(f"{subitem.qty.unit if subitem.qty.unit else 'x'}"),
116-
Td(f"{subitem.description}"),
114+
Td(f"{subitem.bom_qty}", align="right"),
115+
Td(f"{subitem.qty.unit if subitem.qty.unit else 'x'}", align="left"),
116+
Td(f"{subitem.description}", align="left"),
117117
]
118118
)
119119
)

0 commit comments

Comments
 (0)