Prevent layout shift

This commit is contained in:
Nathan Upchurch 2024-08-13 23:07:16 -05:00
parent 21377ff19f
commit 4a476a0207

View File

@ -559,9 +559,11 @@ nav ul {
.post-image-container { .post-image-container {
border-radius: var(--border-radius); border-radius: var(--border-radius);
box-shadow: var(--box-shadow); box-shadow: var(--box-shadow);
height: 15rem;
margin-left: calc(var(--space-l) * -1); margin-left: calc(var(--space-l) * -1);
max-height: 15rem; max-height: 15rem;
overflow: hidden; overflow: hidden;
width: 15rem;
} }
.postlist-date, .postlist-date,