From 114f4d25404d5643d68fca4046606162615a2d7e Mon Sep 17 00:00:00 2001 From: Matthias Leuffen Date: Tue, 4 Jun 2024 14:45:10 +0200 Subject: [PATCH] sync --- elements/_image-list.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elements/_image-list.scss b/elements/_image-list.scss index 9d31b0a..99f4697 100644 --- a/elements/_image-list.scss +++ b/elements/_image-list.scss @@ -18,6 +18,9 @@ ul.image-list { flex: 1 1 calc(100% / var(--layout-columns)); + // Center text vertically + display: flex; + align-items: center; img { height: var(--layout-image-height); width: var(--layout-image-height); @@ -26,6 +29,7 @@ ul.image-list { border: 1px solid #ccc; background-color: white; object-fit: cover; + float: left; margin-right: 10px; }