From b172fe5f490db56a037d4ac9ea5d9e8b4d84434e Mon Sep 17 00:00:00 2001 From: budparr Date: Sun, 4 Feb 2018 22:04:35 -0500 Subject: [PATCH] Add block class to to images on mobile so they behave as expected Because we're using anchor tags, which are not block-level elements, they images were not displaying with background color or border. Making the elements display block fixed that. Also removed the unneeded flex-auto from mobile. --- themes/gohugoioTheme/layouts/partials/boxes-showcase-items.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/gohugoioTheme/layouts/partials/boxes-showcase-items.html b/themes/gohugoioTheme/layouts/partials/boxes-showcase-items.html index 73b6267be..d35bb350a 100644 --- a/themes/gohugoioTheme/layouts/partials/boxes-showcase-items.html +++ b/themes/gohugoioTheme/layouts/partials/boxes-showcase-items.html @@ -1,4 +1,4 @@ - +
{{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $img }}