feat: make it easier to upscale figure images

This commit is contained in:
George Cushen committed 2021-03-06 22:34:13 +00:00
1 parent 1475a49114
commit f9505c2803
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@
<figure {{ with .Get "class" }}class="{{.}}"{{end}} {{ with $id }}id="figure-{{ . }}"{{ end }}>
<div class="d-flex justify-content-center">
<div {{ with .Get "max_width" }}style="max-width: {{.}}"{{end}}>
<div class="w-100" {{ with .Get "max_width" }}style="max-width: {{.}}"{{end}}>
{{- if $img -}}
{{ $isSVG := eq $img.MediaType.SubType "svg" }}
{{ if $isSVG -}}