mirror of
https://github.com/arikchakma/maily.to.git
synced 2026-04-25 22:25:51 +03:00
[GH-ISSUE #120] The content is always aligned to center #272
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/maily.to#272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @javidabd on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/120
Great work!
I started testing this editor, and it has basically everything I need. Thank you for your hard work!
The only issue I'm experiencing is that the content in the email clients is always centered. Is this intentional?
Here is the HTML I get after rendering:
Is there a way to disable this behavior and ensure it respects how we write the content in the editor?
@arikchakma commented on GitHub (Jan 28, 2025):
I mean, what is the issue? Isn't it rendering as you see in the editor? if not, can you please share a screenshot if possible.
@javidabd commented on GitHub (Jan 28, 2025):
Thank you for the quick response. Here are the screenshots:
The Editor

The email that was sent to Gmail (it's always aligned to the center)
@arikchakma commented on GitHub (Jan 28, 2025):
It's intentional btw. The max-width of the email is 600px, and it's centered horizontally. Currently, we don't allow to customize that.
@javidabd commented on GitHub (Jan 28, 2025):
Understood. May I ask why is it not planned or what was the motivation behind this decision? Because it's kinda important not always to be centered.
Thank you for taking the time to answer my questions!
@arikchakma commented on GitHub (Jan 28, 2025):
I wanted to keep a borderline in customization and opinionated. Almost all email editors do a similar thing because it looks good. But for sure in future we can implement this.