FIX image selection?

This commit is contained in:
Hoernschen 2024-01-14 12:44:43 +01:00
parent 59b2196395
commit a841050e84
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
2 changed files with 3 additions and 3 deletions

View file

@ -469,13 +469,13 @@ main > .content {
/* Images */ /* Images */
img { img {
max-width: 100%;
height: auto;
margin: auto; margin: auto;
object-fit: contain; object-fit: contain;
} }
.avatar { .avatar {
width: 100%;
height: 100%;
border-radius: 50%; border-radius: 50%;
border: 3px solid {{ .Site.Params.color.primary }}; border: 3px solid {{ .Site.Params.color.primary }};
object-fit: cover; object-fit: cover;

View file

@ -9,7 +9,7 @@ hero:
url: string url: string
content: string content: string
--> -->
<div id="{{ .id }}" class="section {{if eq .odd 0}} section-even {{end}} row"> <div id="{{ .id }}" class="section {{if eq .odd 0}} even {{end}} row">
<div class="content hero"> <div class="content hero">
{{ with .hero }} {{ with .hero }}
<div class="content"> <div class="content">