Эх сурвалжийг харах

feat: make it easier to upscale figure images

George Cushen 4 жил өмнө
parent
commit
f9505c2803

+ 1 - 1
wowchemy/layouts/shortcodes/figure.html

@@ -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 -}}