From 603ff9b817ee56ae6d24b5fe18b093fde3b74eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Thu, 10 Oct 2024 17:37:34 +0200 Subject: [PATCH] Improve paddings on mobile --- scss/modules/field.scss | 4 ++-- .../content/node--k-centre-profile--search-result.html.twig | 2 +- templates/content/node--k-centre-profile.html.twig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/modules/field.scss b/scss/modules/field.scss index 8133d88..b7d2c3f 100644 --- a/scss/modules/field.scss +++ b/scss/modules/field.scss @@ -8,8 +8,8 @@ body .node--type-k-centre-profile, body .node--type-clarin-centre { .field:not(.field--name-field-k-centre-website-url, .field--name-field-centre-contact-email, .field--name-field-centre-contact-name, .field--name-field-centre-contact-telephone, .field--name-field-centre-contact-website-url, .field--name-field-centre-contact-eppn) { padding-bottom: 0.625rem; - padding-left: calc(var(--bs-gutter-x) * .5); - padding-right: calc(var(--bs-gutter-x) * .5); + padding-left: 0; + padding-right: 0; p { margin: 0; diff --git a/templates/content/node--k-centre-profile--search-result.html.twig b/templates/content/node--k-centre-profile--search-result.html.twig index 127760f..e7df63f 100644 --- a/templates/content/node--k-centre-profile--search-result.html.twig +++ b/templates/content/node--k-centre-profile--search-result.html.twig @@ -126,7 +126,7 @@ {% endif %} {% if content.field_tour_de_clarin_intro.0 or content.field_tour_de_clarin_interview.0 %}
-
+
Tour de CLARIN logo, linking to the 'Tour de CLARIN' section of this website diff --git a/templates/content/node--k-centre-profile.html.twig b/templates/content/node--k-centre-profile.html.twig index d1396a8..88a281f 100644 --- a/templates/content/node--k-centre-profile.html.twig +++ b/templates/content/node--k-centre-profile.html.twig @@ -39,7 +39,7 @@
{% endif %} - + {% if snippet %} {{ snippet }} {% endif %}