Commit Graph

16 Commits

Author SHA1 Message Date
Jan Lysý
b68df77aee Simplify ListBlock renderer
Because for nesting is better to doesn't have any wrapper, we add configured styles directly to the list tag
[MAILPOET-5790]
2024-01-11 14:39:08 +01:00
Rostislav Wolny
9b05e46690 Use theme.json defined background in renderer
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
Rostislav Wolny
bfa7b509cc Add buttons block rendering
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
Jan Lysý
abf1ef9d7f Implements image block renderer
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Oluwaseun Olorunsola
667da710b1 Merge updates in trunk
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Oluwaseun Olorunsola
d05b38bf89 Fix failing test
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Oluwaseun Olorunsola
1528b2e9ec Add Base CSS resets
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Jan Lysý
38c099be20 Reset heading margins in emails
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
2ca611bacb Reset default margin and set default padding-left
Because we want to have the best user experience for most of email client,
we reset the margin and set padding-left for the same look.
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
a0b57b3f3f Unify columns height
Because we prefer the identical height of core/column with different content lengths,
I used a wrapper layer that helps to solve it.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
4f9e3723c9 Implement rendering column, columns and paragraph
[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
d594bb4739 Add simple columns rendering
Add rendering of columns with fixed width computed by number of columns.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
36e83f81ec Temporarily hardcode background color for body and content
[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