Commit 77c345589a0226b480e0f942a02d33f7c7fc2c1c

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

Fixed header height in email template [ci skip]

app/views/apps/index.html.haml
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 - revision = app.deploys.last.short_revision 17 - revision = app.deploys.last.short_revision
18 = link_to( app.last_deploy_at.to_s(:micro) << (revision.present? ? " (#{revision})" : ""), app_deploys_path(app)) 18 = link_to( app.last_deploy_at.to_s(:micro) << (revision.present? ? " (#{revision})" : ""), app_deploys_path(app))
19 - else 19 - else
20 - 'n/a' 20 + n/a
21 %td.count 21 %td.count
22 - if app.errs.count > 0 22 - if app.errs.count > 0
23 - unresolved = @unresolved_counts[app.id] 23 - unresolved = @unresolved_counts[app.id]
public/stylesheets/email.css
1 td.header { 1 td.header {
2 - padding: 10px 20px 10px 20px;  
3 - height: 75px; 2 + padding: 10px 20px 8px 20px;
  3 + height: 70px;
4 background-color: #11112f; 4 background-color: #11112f;
5 text-align: left; 5 text-align: left;
6 border-bottom: 1px solid #ccccee; 6 border-bottom: 1px solid #ccccee;
@@ -9,7 +9,7 @@ td.header { @@ -9,7 +9,7 @@ td.header {
9 display: block; 9 display: block;
10 height: 31px; 10 height: 31px;
11 width: 88px; 11 width: 88px;
12 - margin-top: 10px; 12 + margin-top: 4px;
13 } 13 }
14 /* Style 'Errbit' logo alt text if image cannot be loaded. */ 14 /* Style 'Errbit' logo alt text if image cannot be loaded. */
15 td.header a img { 15 td.header a img {