beam-community / bamboo

Testable, composable, and adapter based Elixir email library for devs that love piping.
https://hex.pm/packages/bamboo
MIT License
1.91k stars 345 forks source link

Better local preview for text-only emails #622

Closed kreba closed 3 years ago

kreba commented 3 years ago

As promised in #614, this PR makes the local preview more compact for messages that have no HTML body.

Note: There is a second commit in this PR that adds color to the headings "HTML body" and "Text body". This is not exactly related to the issue at hand and we understand that this change might not be welcome. Feel free to leave it out.

germsvel commented 3 years ago

Thanks for contributing this work @kreba!

silvagustin commented 2 years ago

Unfortunatelly, this is not working for Bamboo Phoenix and I think the problem is that the Bamboo dependency version used in there is an old one which doesn't have this change.