moved member-photo style to index.css and added border radius

This commit is contained in:
s5260822 2025-03-20 21:42:20 +01:00
parent 765ef4342b
commit b20cee59fe
3 changed files with 9 additions and 2 deletions

View file

@ -288,3 +288,10 @@ select {
transform: scale(0.9);
z-index: 1;
}
.member-photo {
max-width: 400px;
height: auto;
margin-bottom: 20px;
border-radius: 10px;
}

View file

@ -19,7 +19,7 @@
<br>
<#if pic??>
<img style="max-width: 400px; height: auto;" src="data:image/jpeg;base64,${pic}" alt="Foto von ${p.vorname} ${p.nachname} (${p.partei})" />
<img class="member-photo" src="data:image/jpeg;base64,${pic}" alt="Foto von ${p.vorname} ${p.nachname} (${p.partei})" />
<#else>
<h2>(kein Foto verfügbar)</h2>
</#if>

View file

@ -40,7 +40,7 @@
<main>
<#if picture??>
<div class="centered-content">
<img style="max-width: 400px; height: auto; margin-bottom: 20px" src="data:image/jpeg;base64,${picture}" alt="Foto von ${s.speakerName}" />
<img class="member-photo" src="data:image/jpeg;base64,${picture}" alt="Foto von ${s.speakerName}" />
</div>
<#else>
<h2>(kein Foto verfügbar)</h2>