From 0c887fd1e1838fc1293a9942620a73717403f95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 19 Feb 2023 17:56:19 +0100 Subject: [PATCH] fix: improve consistent listen img size Define Width so content does not move after load --- layouts/shortcodes/listory-albums.html | 3 ++- layouts/shortcodes/listory-genres.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/listory-albums.html b/layouts/shortcodes/listory-albums.html index 5d5d68d..1d14dcd 100644 --- a/layouts/shortcodes/listory-albums.html +++ b/layouts/shortcodes/listory-albums.html @@ -17,9 +17,10 @@ src="/listen.svg" style=" height: 1em; + width: 1em; display: inline; margin: 0 0; - padding-left: 0.2em; + margin-left: 0.2em; vertical-align: middle; " /> diff --git a/layouts/shortcodes/listory-genres.html b/layouts/shortcodes/listory-genres.html index 6ad159f..9b1af09 100644 --- a/layouts/shortcodes/listory-genres.html +++ b/layouts/shortcodes/listory-genres.html @@ -13,9 +13,10 @@ src="/listen.svg" style=" height: 1em; + width: 1em; display: inline; margin: 0 0; - padding-left: 0.2em; + margin-left: 0.2em; vertical-align: middle; " />