-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Max Width Property on Email Logo #31
Comments
Hi @Samuel-Montoya, Currently all themes come with a hard-coded mailgen/themes/salted/index.html Lines 57 to 59 in c4356d7
One option is to to resize the logo image you are providing to The other option is to add an option to customize the |
I seem to have gotten a fix for my situation. For Outlook, the image element requires a width property to display correctly on the Outlook client. It would be wonderful if we were given the option to add or change this value, maybe in the product object?
This would be especially nice so we don't have to manually resize pictures. |
@Samuel-Montoya Sounds like a good plan. Are you comfortable with JS? Do you want to attempt adding this parameter in? |
Hello @eladnava. Has this been implemented? Would like to help with it |
Hi @Aptcoder, |
I believe that is an appropriate solution. I would check for the property in |
Sounds good! Actually, sorry for the confusion, but it would be better if we modified the Currently, all themes set the logo
I would say the best approach would be to allow passing in a custom |
Alright. I will make a PR to this effect |
Merged in #41. |
There seems to be no max-width property on the email logo with the Salted Theme.
Is there any way this could be limited? On Outlook, some logos take up almost the entire screen if the image is too big.
This logo property is set in the product object when setting a theme.
Thanks!
The text was updated successfully, but these errors were encountered: