Logo SVG Bug
It seems cPanel now supports vectors for icons and logo branding. Great !
But there seems to be a bug with the logo uploaded on the branding section. Suggested size is 250x50 and that is fine if you use PNG. But if you use SVG the logo displays tiny. Extremely small. It does not resize correctly to 250x50 even if your SVG is in that format. If you export the same logo back to PNG it shows fine in the header but with a vector format, it doesn't.
I suspect this is related CSS it's resizing the logo with the responsive setting is shrinking it incorrectly. It just looks back.
-
Hello @nibb, Could you verify if you are using the Retro style for Paper Lantern? We have a case open (CPANEL-13671) with a similar report, but only affecting the Retro style. Thank you. 0 -
Nope. Not using the retro style but default. Seems to affect all of them equally. Instead of using the whole wide in the header like the PNG does, the SVG gets shrunk 4 or 5 times its size. It's a CSS responsive issue because I had that issue before on bootstrap sites with vector images. The solution was to give the vector file a fixed wide in the HTMl code. 0 -
Hello @nibb, I've opened internal case CPANEL-13945 to report this issue. I'll monitor the status of this case and update this thread with more information as it becomes available. Thank you. 0 -
Hello, To update, this is fixed as part of cPanel version 68: Fixed case CPANEL-13945: Fixed issue with logo resizing in cPanel. Thank you. 0 -
@nibb - We had a few related bug reports after we applied the fix that @cPanelMichael mentioned...enough to make us back out the changes in CPANEL-13945 so that we can take a slightly different stab at it. 0 -
@cPanelAdamF - I'd like to inquire what was the logic behind the 30px height for the .svg logo's? Opposed to a 50px max-height for .png logo's. Seems like a bug? Its disappointing that I need to create a custom theme just to get my cleaner svg logo to be a presentable size. Has there been any talk or maybe you guys can take another stab at making the svg file type the same size as the png logo in your default css? 0
Please sign in to leave a comment.
Comments
6 comments