diff --git a/rhodecode/templates/debug_style/emails.html b/rhodecode/templates/debug_style/emails.html
--- a/rhodecode/templates/debug_style/emails.html
+++ b/rhodecode/templates/debug_style/emails.html
@@ -21,7 +21,7 @@
% for elem in sorted(c.email_types.keys()):
-
- ${elem}
+ ${elem}
|
plain rendered
diff --git a/rhodecode/templates/email_templates/base.mako b/rhodecode/templates/email_templates/base.mako
--- a/rhodecode/templates/email_templates/base.mako
+++ b/rhodecode/templates/email_templates/base.mako
@@ -63,8 +63,8 @@ css_style = ';'.join([
## Constants
<%
-text_regular = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;"
-text_monospace = "'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;"
+text_regular = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, sans-serif"
+text_monospace = "'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace"
%>
@@ -100,7 +100,7 @@ text_monospace = "'Menlo', 'Liberation M
-ms-text-size-adjust: 100%;
margin: 0;
padding: 0;
- font-family: ${text_regular|n}
+ font-family: ${text_regular|n};
}
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/
@@ -184,6 +184,13 @@ text_monospace = "'Menlo', 'Liberation M
mso-table-rspace: 0pt;
}
+ table tr {
+ display: table-row;
+ vertical-align: inherit;
+ border-color: inherit;
+ border-spacing: 0 3px;
+ }
+
table td {
padding: .65em 1em .65em 0;
border-collapse: collapse;
@@ -202,6 +209,10 @@ text_monospace = "'Menlo', 'Liberation M
outline: 1px solid #979797
}
+ code {
+ font-family: ${text_monospace|n};
+ }
+
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
/* Put your iPhone 4g styles in here */
}
@@ -283,7 +294,7 @@ text_monospace = "'Menlo', 'Liberation M
margin: 3px 0 13px 0 !important;
color: #424242 !important;
font-size: 13px !important;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ font-family: ${text_regular|n};
font-weight: normal !important;
overflow: visible !important;
line-height: 140% !important
@@ -361,7 +372,7 @@ text_monospace = "'Menlo', 'Liberation M
}
div.markdown-block code, div.markdown-block pre, div.markdown-block #ws, div.markdown-block #message {
- font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
+ font-family: ${text_monospace|n};
font-size: 11px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@@ -490,8 +501,10 @@ text_monospace = "'Menlo', 'Liberation M
+
+
-
+
@@ -513,11 +526,13 @@ text_monospace = "'Menlo', 'Liberation M
+
-
- |