Commit d1f481c3ca26578ef59ec9d09402e8f89e2a332c

Authored by Nathan Broadbent
1 parent aeec7189
Exists in master and in 1 other branch production

Fixed email layout to only use 1 table (was breaking gmail) [ci skip]

Showing 1 changed file with 3 additions and 6 deletions   Show diff stats
app/views/layouts/mailer.html.haml
1 1 %html
2 2 %head
  3 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
3 4 :css
4 5 td.header {
5 6 padding: 10px 20px 10px 20px;
... ... @@ -50,8 +51,8 @@
50 51 p.monospace, p.backtrace { font-family: monospace; }
51 52 p.backtrace { margin-bottom: 2px; }
52 53  
53   - %body
54   - %div
  54 + %body(leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0")
  55 + %center
55 56 %table(cellpadding="0" cellspacing="0" border="0" width="100%")
56 57 %tbody
57 58 %tr
... ... @@ -60,12 +61,8 @@
60 61  
61 62 = yield
62 63  
63   - %table(cellpadding="0" cellspacing="0" border="0" align="left" width="100%")
64   - %tbody
65 64 %tr
66 65 %td.footer
67 66 Your loyal servant,
68 67 = link_to 'Errbit', root_path
69 68  
70   - %br
71   -
... ...