Commit d4a738dffd52c326726fa438a2b153f0d47a9446
1 parent
d1f481c3
Exists in
master
and in
1 other branch
Styled 'Errbit' logo alt text if image can't be loaded. [ci skip]
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
app/views/layouts/mailer.html.haml
... | ... | @@ -15,8 +15,15 @@ |
15 | 15 | width: 88px; |
16 | 16 | margin-top: 10px; |
17 | 17 | } |
18 | + /* Style 'Errbit' logo alt text if image cannot be loaded. */ | |
18 | 19 | td.header a img { |
19 | 20 | border: none; |
21 | + color: #E3E3E3; | |
22 | + font-family: helvetica; | |
23 | + font-size: 30px; | |
24 | + font-weight: bold; | |
25 | + min-height: 31px; | |
26 | + text-shadow: 0 1px 0 #EEEEFF; | |
20 | 27 | } |
21 | 28 | |
22 | 29 | td.section, td.content, td.footer { |
... | ... | @@ -57,7 +64,7 @@ |
57 | 64 | %tbody |
58 | 65 | %tr |
59 | 66 | %td.header |
60 | - = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s), root_url | |
67 | + = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s, :alt => "Errbit"), root_url | |
61 | 68 | |
62 | 69 | = yield |
63 | 70 | ... | ... |