summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/image-size-control.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/image-size-control.html')
-rw-r--r--layouts/shortcodes/image-size-control.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/image-size-control.html b/layouts/shortcodes/image-size-control.html
index 1bf374d..679aae7 100644
--- a/layouts/shortcodes/image-size-control.html
+++ b/layouts/shortcodes/image-size-control.html
@@ -1,6 +1,6 @@
<div class="image-size-control" style="
{{- with (.Get "width") }}max-width: {{ . }};{{ end -}}
-{{- with (.Get "height") }}max-height: {{ . }};{{ end -}}
+{{- with (.Get "height") }}height: {{ . }};{{ end -}}
">
{{ .Page.RenderString .Inner }}
</div>