From: Jean-Philippe Lang Date: Sun, 8 May 2016 07:23:50 +0000 (+0000) Subject: Add styles for pre in email notifications (#22693). X-Git-Tag: 3.3.0~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=690b1e9cb7a038d3d9011ba49be40ecceeceeae5;p=redmine.git Add styles for pre in email notifications (#22693). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15395 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index f2cf45bb8..0e6d24df9 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -27,6 +27,17 @@ span.footer { } blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 1.2em;} blockquote blockquote { margin-left: 0;} +pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} +pre { + margin: 1em 1em 1em 1.6em; + padding: 8px; + background-color: #fafafa; + border: 1px solid #e2e2e2; + border-radius: 3px; + width:auto; + overflow-x: auto; + overflow-y: hidden; +}