logo fix 7

This commit is contained in:
kdee committed 2026-09-23 13:17:14 -07:00
1 parent ee090e7a4b
commit a43e009b92
1 file changed
+6
+6
View File
@@ -150,6 +150,12 @@
iconWrap.style.setProperty('width', 'auto', 'important'); iconWrap.style.setProperty('width', 'auto', 'important');
iconWrap.style.setProperty('max-height', 'none', 'important'); iconWrap.style.setProperty('max-height', 'none', 'important');
iconWrap.style.setProperty('max-width', '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) { Array.prototype.forEach.call(container.childNodes, function (node) {
if (node === logoImg) return; if (node === logoImg) return;