Fix image centering

This commit is contained in:
Gabriel Huber 2023-02-28 00:38:19 +01:00
parent fe7b19d097
commit 6ff25a2202

View file

@ -222,12 +222,13 @@ section:nth-child(even) {
} }
.split-section-img a { .split-section-img a {
height: 100%; max-height: 100%;
} }
.split-section-img img { .split-section-img img {
width: 100%; width: 100%;
height: auto; height: auto;
display: block;
} }
footer { footer {
@ -361,6 +362,10 @@ footer h2 {
flex-direction: row; flex-direction: row;
} }
.split-section-img a {
height: 100%;
}
.split-section-img img { .split-section-img img {
height: 100%; height: 100%;
width: auto; width: auto;