Skip to content

Commit c97a575

Browse files
committed
Update figure.liquid
1 parent 2547673 commit c97a575

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

_includes/figure.liquid

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
{% else %}
4747
height="auto"
4848
{% endif %}
49-
{% if include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
49+
{% if include.style %}
50+
style="{{ include.style }}"
51+
{% elsif include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
5052
style="
5153
{% if include['min-width'] %}
5254
min-width: {{ include.min-width }};

0 commit comments

Comments
 (0)