From 4a476a02071df43e6faccecbf258bf7ea1f9c1df Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Tue, 13 Aug 2024 23:07:16 -0500 Subject: [PATCH] Prevent layout shift --- public/css/index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/css/index.css b/public/css/index.css index 14b2e37..7f19a0c 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -559,9 +559,11 @@ nav ul { .post-image-container { border-radius: var(--border-radius); box-shadow: var(--box-shadow); + height: 15rem; margin-left: calc(var(--space-l) * -1); max-height: 15rem; overflow: hidden; + width: 15rem; } .postlist-date,