From a43e009b92dcfc61f38c9000b0ec2ac422f2fba3 Mon Sep 17 00:00:00 2001 From: Kevin D Date: Wed, 23 Sep 2026 13:17:14 -0700 Subject: [PATCH] logo fix 7 --- banner.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/banner.js b/banner.js index 2c1be6b..f548c12 100644 --- a/banner.js +++ b/banner.js @@ -150,6 +150,12 @@ iconWrap.style.setProperty('width', 'auto', 'important'); iconWrap.style.setProperty('max-height', 'none', 'important'); iconWrap.style.setProperty('max-width', 'none', 'important'); + // MUI's startIcon wrapper carries baked-in negative-left/positive-right + // margin (compensating for icon-font glyphs with their own internal + // padding); left over, it shifts the image into the container's left + // padding and stacks extra space on the right. Zero it so the + // container's own symmetric padding is the only thing spacing it. + iconWrap.style.setProperty('margin', '0', 'important'); } Array.prototype.forEach.call(container.childNodes, function (node) { if (node === logoImg) return;