logo fix 7
This commit is contained in:
1 parent
ee090e7a4b
commit
a43e009b92
1 file changed
+6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user