When trying to apply styles to a table for email purposes, I encountered an issue with Outlook not being able to read nth child selectors. This has made it difficult for me to style the last row of the table.
styles = [
{'selector': 'tr:nth-child(4)', 'props': jc_props},
]
Although this method works, it doesn't seem to apply when sending an email.
styles = [
{'selector': 'tr+tr+tr+tr', 'props': jc_props},
]
Unfortunately, this alternative approach did not have the desired effect either.
The attempts shown above represent my efforts so far. It appears that Outlook struggles with rendering even simple styling in emails.