linagora / esn-frontend-common-libs

Common ground for OpenPaaS frontend (https://open-paas.org)
Other
4 stars 12 forks source link

Show mail style correctly #243

Closed alagane closed 3 years ago

alagane commented 3 years ago

Also fixes a bug where a hook was added each time the filter was called instead of added one time only.

Related to https://github.com/linagora/esn-frontend-inbox/issues/353

alagane commented 3 years ago

See (compared to the example mail in the issue) image

asmaNode commented 3 years ago

Just a remark , maybe it is more ergonomic if we center all text because it is an alert message like this one to attract attention

maintenanceMsg

alagane commented 3 years ago

Just a remark , maybe it is more ergonomic if we center all text because it is an alert message like this one to attract attention

I am not sure it is related. I just clean a mail style before displaying it, to display it the more accurately possible. I think if the mail should be centered, it is the sender's responsibility.