Commit Graph

10 Commits

Author SHA1 Message Date
Rostislav Wolny
9b05e46690 Use theme.json defined background in renderer
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
Jan Lysý
52e8fc3a12 Add exception for subtracting padding for full-width blocks
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Rostislav Wolny
91b8ed9dde Fix displaying columns full width in the gmail app
The content wrapping table was not set width 100%.
However, the table is not needed since each column block adds its own table.
So removing the incorrect table fixes the issue.
[MAILPOET-5753]
2023-12-07 16:56:40 +01:00
Jan Lysý
1250d81670 Refactor BlocksWidth preprocessor to set string including units
I added pixels to calculated width for easier work with it in block rendering.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
62ea18f8be Fix email template header
Missing head tag caused an incorrect rendering in Gmail apps on mobiles.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
125b0dfe82 Add email layout padding
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Rostislav Wolny
fd96b4afad Add email background and width into StylesController and apply in redering
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
3835a91163 Fix columns rendering after testing in Litmus
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
6fe71e2298 Update mail template layout to match MJML and add default content
padding

[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
46a481ec24 Add email renderer and template to the renderer engine
In this commit, I copied the code for processing the rendering of emails
from the current renderer.
This will allow us to use different base templates and styles.
Ideally, we should be able to add hooks and reuse the renderer from the engine namespace in
the current renderer.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00