diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-10-13 21:41:54 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-10-13 21:41:54 +0100 |
| commit | a37d5bd725cfe61c56d84f06a58d88872f6b7690 (patch) | |
| tree | 37a73f2fa3be191ff3b493246dc9b1fc6b7c5f5c | |
| parent | 76b737c5978732363317e029aeec6d3ce9c8234d (diff) | |
Avoids content shift on RSS button
| -rw-r--r-- | public/css/modules/footer.css | 1 | ||||
| -rw-r--r-- | src/components/Footer.astro | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/public/css/modules/footer.css b/public/css/modules/footer.css index eb9e108..0d1a896 100644 --- a/public/css/modules/footer.css +++ b/public/css/modules/footer.css @@ -19,6 +19,7 @@ footer { } .footer__rss-button__img { + min-width: 44px; width: calc(8 * var(--relative-eighth-rem)); } diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ffb49c9..f582d33 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -14,7 +14,7 @@ const t = translate(locale); <span class="footer__rss-button__label"> {t(tComponent, { key: 'subscribe-to-rss' })} </span> - <img class="footer__rss-button__img" src={rssImg.src} alt="" /> + <img class="footer__rss-button__img" src={rssImg.src} alt="" height="44" width="44" /> </a> <Button classNames="footer__back-to-top" href="#top"> |
