]> git.openstreetmap.org Git - rails.git/commit
Apply inline styling to all <p> tags
authorHerve Saint-Amand <git@saintamh.org>
Wed, 25 Jan 2017 22:50:52 +0000 (22:50 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Wed, 25 Jan 2017 22:50:52 +0000 (22:50 +0000)
commitcf11913d586bf9c25f003f4acd3b114367fa4aa9
tree83c04d7fc67eb736a4f8a72cd260f39b4251d0aa
parent25d80789dda4d989f5b5e168ddd05a20d11c183b
Apply inline styling to all <p> tags

Solved the problem of <p> tags being given different padding or color by different clients, without having to copy-paste a string of CSS into every <p> tag in the templates.
app/helpers/notifier_helper.rb
app/views/layouts/notifier.html.erb
app/views/notifier/_message_body.html.erb