moved member-photo style to index.css and added border radius
This commit is contained in:
parent
765ef4342b
commit
b20cee59fe
3 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue