Center workflow preview.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-17 02:43:44 -04:00
parent e222a71966
commit ad822834d4

View File

@@ -17,7 +17,7 @@ def widget_transition_events(transition):
def widget_workflow_diagram(workflow):
return mark_safe(
'<img class="img-responsive" src="{}">'.format(
'<img class="img-responsive" src="{}" style="margin:auto;">'.format(
reverse('document_states:workflow_image', args=(workflow.pk,))
)
)