From 60c76c5e7852ddfb7a73eb3a5315bc28b20de877 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sun, 7 Jan 2024 10:54:37 +0100 Subject: [PATCH] Fix with of images in news (single images) --- themes/tsc_vfl/layouts/shortcodes/tsc/news/inline-float.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/news/inline-float.html b/themes/tsc_vfl/layouts/shortcodes/tsc/news/inline-float.html index 5fd9544..08e5d46 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/news/inline-float.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/news/inline-float.html @@ -8,7 +8,7 @@ {{ $resource := .Page.Resources.Get $filename -}} src="{{ $resource.RelPermalink }}" style=" - {{- with .Get "width" -}}max-width: {{.}}px;{{- end -}} + {{- with .Get "width" -}}width: {{.}}px;{{- end -}} " > {{ with .Get "href" }}