From d88771adeee6a1d8d30b27cd5d2e4d0c3810cbf9 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 11 Aug 2022 01:18:18 +0800 Subject: [PATCH] use height instead of max-height to control img size on parent div this change happens on both image-size-control and figure-img-size --- layouts/shortcodes/figure-img-size.html | 2 +- layouts/shortcodes/image-size-control.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/figure-img-size.html b/layouts/shortcodes/figure-img-size.html index 62c9f20..b20f17f 100644 --- a/layouts/shortcodes/figure-img-size.html +++ b/layouts/shortcodes/figure-img-size.html @@ -3,7 +3,7 @@
{{ .Page.RenderString .Inner }}
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 @@
{{ .Page.RenderString .Inner }}