From 59ee2942e4c49152441399fcdab96ad3869e06f3 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Fri, 1 Nov 2019 17:52:15 -0400 Subject: [PATCH] increased image size in search results --- css/style.css | 12 +++++++++--- templates/search-result.html.twig | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index a730671..e15e8f6 100644 --- a/css/style.css +++ b/css/style.css @@ -839,7 +839,7 @@ nav .search-block-form { .path-search .region-content > ol li { width: 280px; - height: 280px; + height: 320px; margin: 0px auto; padding: 10px; @@ -854,8 +854,8 @@ nav .search-block-form { } .path-search .region-content > ol li .search-image { - width: 100px; - height: 100px; + width: 220px; + height: 220px; margin: 0 auto; @@ -863,6 +863,12 @@ nav .search-block-form { align-items: center; } +.path-search .region-content > ol li p { + display: block; + width: 220px; + margin: 0 auto; +} + .path-search .region-content > ol li img { } diff --git a/templates/search-result.html.twig b/templates/search-result.html.twig index 69e99ea..7c1010e 100644 --- a/templates/search-result.html.twig +++ b/templates/search-result.html.twig @@ -66,7 +66,7 @@ {% if node.field_image.0 %}
- +
{% endif %} -- 2.25.1