Skip to content

Commit 2356028

Browse files
authored
Fix VTK HTML template text-align value (#1217)
Remove "s" character causing invalid `text-align` value.
1 parent 5f7b1ed commit 2356028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/cq_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
.. raw:: html
200200
201201
<div class="cq-vtk"
202-
style="text-align:{txt_align}s;float:left;border: 1px solid #ddd; width:{width}; height:{height}">
202+
style="text-align:{txt_align};float:left;border: 1px solid #ddd; width:{width}; height:{height}">
203203
<script>
204204
var parent_element = {element};
205205
var data = {data};

0 commit comments

Comments
 (0)