From 9690867817d9e279e9f378e1e30430920ed9bedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Wed, 20 Mar 2024 13:08:51 +0100 Subject: [PATCH] fix(member-contact): prettier form --- src/members-contact.njk | 2 +- src/scss/components/_member.scss | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/members-contact.njk b/src/members-contact.njk index 0011f45..3ad8659 100644 --- a/src/members-contact.njk +++ b/src/members-contact.njk @@ -25,7 +25,7 @@ permalink: '/members/{{ member.fileSlug }}/contact/'
photo de {{ memberData.name }}
-
+
{% if memberData.emailSlug %} {% set contactMember = memberData.emailSlug %} {% else %} diff --git a/src/scss/components/_member.scss b/src/scss/components/_member.scss index 4db2cc5..ebe8e6e 100644 --- a/src/scss/components/_member.scss +++ b/src/scss/components/_member.scss @@ -68,7 +68,7 @@ margin-top: 1.5rem; } - &::before { + &:not(.member-contact)::before { content: ''; display: block; position: absolute; @@ -79,6 +79,11 @@ top: -6rem; left: -1.5rem; } + + &.member-contact .form-container { + border-radius: 1.75rem; + padding-top: 1.75rem; + } } }