From 6ff25a2202682e388c4e77e11c959f744bdaef7d Mon Sep 17 00:00:00 2001 From: Gabriel Huber Date: Tue, 28 Feb 2023 00:38:19 +0100 Subject: [PATCH] Fix image centering --- static/styles.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/styles.css b/static/styles.css index afc00f4..a5d4684 100644 --- a/static/styles.css +++ b/static/styles.css @@ -222,12 +222,13 @@ section:nth-child(even) { } .split-section-img a { - height: 100%; + max-height: 100%; } .split-section-img img { width: 100%; height: auto; + display: block; } footer { @@ -361,6 +362,10 @@ footer h2 { flex-direction: row; } + .split-section-img a { + height: 100%; + } + .split-section-img img { height: 100%; width: auto;