A free, self-hostable news aggregator…
fix(layout): reserve logo image box via intrinsic dimensions (#8774)
polybjorn2787014bde1b
diff --git a/app/layout/header.phtml b/app/layout/header.phtmlindex 56856f84c..8656b6c98 100644--- a/app/layout/header.phtml+++ b/app/layout/header.phtml@@ -6,7 +6,7 @@<div class="item title"><a href="<?= Minz_Url::display(['c' => 'index', 'a' => 'index'], 'html', 'root') ?>"><?php if (FreshRSS_Context::systemConf()->logo_html == '') { ?>- <img class="logo" src="<?= _i('FreshRSS-logo', FreshRSS_Themes::ICON_URL) ?>" alt="FreshRSS" loading="lazy" />+ <img class="logo" src="<?= _i('FreshRSS-logo', FreshRSS_Themes::ICON_URL) ?>" alt="FreshRSS" width="160" height="32" loading="lazy" /><?php} else {echo FreshRSS_Context::systemConf()->logo_html;diff --git a/app/layout/simple.phtml b/app/layout/simple.phtmlindex 85391e77a..68b6d1c53 100644--- a/app/layout/simple.phtml+++ b/app/layout/simple.phtml@@ -49,7 +49,7 @@<div class="item title"><a href="<?= Minz_Url::display(['c' => 'index', 'a' => 'index'], 'html', 'root') ?>"><?php if (FreshRSS_Context::systemConf()->logo_html == '') { ?>- <img class="logo" src="<?= _i('FreshRSS-logo', FreshRSS_Themes::ICON_URL) ?>" alt="FreshRSS" loading="lazy" />+ <img class="logo" src="<?= _i('FreshRSS-logo', FreshRSS_Themes::ICON_URL) ?>" alt="FreshRSS" width="160" height="32" loading="lazy" /><?php} else {echo FreshRSS_Context::systemConf()->logo_html;