fix(member-contact): prettier form

This commit is contained in:
Jérémy Dufraisse 2024-03-20 13:08:51 +01:00
parent 4380a086db
commit 9690867817
2 changed files with 7 additions and 2 deletions

View File

@ -25,7 +25,7 @@ permalink: '/members/{{ member.fileSlug }}/contact/'
<div class="member__info"> <div class="member__info">
<img src="{{ memberData.profile }}" alt="photo de {{ memberData.name }}"> <img src="{{ memberData.profile }}" alt="photo de {{ memberData.name }}">
</div> </div>
<div class="member__bio"> <div class="member__bio member-contact">
{% if memberData.emailSlug %} {% if memberData.emailSlug %}
{% set contactMember = memberData.emailSlug %} {% set contactMember = memberData.emailSlug %}
{% else %} {% else %}

View File

@ -68,7 +68,7 @@
margin-top: 1.5rem; margin-top: 1.5rem;
} }
&::before { &:not(.member-contact)::before {
content: ''; content: '';
display: block; display: block;
position: absolute; position: absolute;
@ -79,6 +79,11 @@
top: -6rem; top: -6rem;
left: -1.5rem; left: -1.5rem;
} }
&.member-contact .form-container {
border-radius: 1.75rem;
padding-top: 1.75rem;
}
} }
} }