FIX: Use correct spacing in emails with code (#9274)
Follow-up-to 778454e26b
This commit is contained in:
parent
6bceb1d15a
commit
ba1a08510e
|
@ -195,7 +195,8 @@ module Email
|
||||||
style('div.summary-footer', 'color:#666; font-size:95%; text-align:center; padding-top:15px;')
|
style('div.summary-footer', 'color:#666; font-size:95%; text-align:center; padding-top:15px;')
|
||||||
style('span.post-count', 'margin: 0 5px; color: #777;')
|
style('span.post-count', 'margin: 0 5px; color: #777;')
|
||||||
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
||||||
style('code', 'background-color: #f1f1ff; line-height: 50%; padding: 2px 5px;')
|
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
||||||
|
style('code ol', 'line-height: 50%;')
|
||||||
style('pre code', 'display: block; background-color: #f1f1ff; padding: 5px;')
|
style('pre code', 'display: block; background-color: #f1f1ff; padding: 5px;')
|
||||||
style('.featured-topic a', "text-decoration: none; font-weight: bold; color: #{SiteSetting.email_link_color}; line-height:1.5em;")
|
style('.featured-topic a', "text-decoration: none; font-weight: bold; color: #{SiteSetting.email_link_color}; line-height:1.5em;")
|
||||||
style('.secure-image-notice', 'font-style: italic; background-color: #f1f1ff; padding: 5px;')
|
style('.secure-image-notice', 'font-style: italic; background-color: #f1f1ff; padding: 5px;')
|
||||||
|
|
Loading…
Reference in New Issue