Skip to content

Commit

Permalink
Fix VTK HTML template text-align value
Browse files Browse the repository at this point in the history
Remove "s" character causing invalid `text-align` value.
  • Loading branch information
sethfischer committed Jan 5, 2023
1 parent 5f7b1ed commit 1b20ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadquery/cq_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
.. raw:: html
<div class="cq-vtk"
style="text-align:{txt_align}s;float:left;border: 1px solid #ddd; width:{width}; height:{height}">
style="text-align:{txt_align};float:left;border: 1px solid #ddd; width:{width}; height:{height}">
<script>
var parent_element = {element};
var data = {data};
Expand Down

0 comments on commit 1b20ed0

Please sign in to comment.