Skip to content
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

Images not responsive for mobile device with width 300px #1128

Open
maximsymfony opened this issue Oct 28, 2022 · 1 comment
Open

Images not responsive for mobile device with width 300px #1128

maximsymfony opened this issue Oct 28, 2022 · 1 comment

Comments

@maximsymfony
Copy link

maximsymfony commented Oct 28, 2022

If there solution to make images responsive for mobile devices ?

<container> <row> <columns small="12" large="12"> <center> <img src="{{ email.image('@images/email/email_header.svg') }}" alt="Logo" width="300" style="width: 300px;"> </center> </columns>

@Raziel721
Copy link

You can make the image responsive for mobile devices by using width: 100% and max-width: 300px, if you want the image to not grow more than 300px.
style="width:100%; max-width: 300px"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants