From dcbe6277bbbf6780c4697b5180d2ace51ba4196d Mon Sep 17 00:00:00 2001 From: Ian GrĂ¼nig Date: Sun, 22 Aug 2021 08:15:28 +0200 Subject: Add width and height attributes to cover images (#519) - Ensures that the browser can allocate the correct amount of space in the document while the image is loading. - Reduces CLS #499 --- assets/css/common/post-entry.css | 1 + 1 file changed, 1 insertion(+) (limited to 'assets/css/common/post-entry.css') diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index ac2afcc..2789f41 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -98,6 +98,7 @@ border-radius: var(--radius); pointer-events: none; width: 100%; + height: auto; } .entry-cover a { -- cgit v1.2.3