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

[BUG] Relay Header has fixed width span inside header table, doesn't wrap properly on small screens #4662

Open
jedfonner opened this issue May 3, 2024 · 0 comments

Comments

@jedfonner
Copy link

On line 72 of emails/templates/emails/wrapped_email.html, the .forwarded-from-email class hardcodes a width of 500px

On small screens, this causes the header to scroll off the side of the screen. On mobile devices that resize the email to fit the width, it causes the body of the email to be very small.

The comment says /* this deals with long email addresses */ but I recommend using something like width:fit-content (which is decently supported by email clients) or just picking a size that will work better on phones, such as 360px (or better yet, use a @media query to dynamically change the width based on form factor).

Screenshot_20240502_195820

Screenshot_20240502-201705

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

1 participant