mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 22:56:05 +08:00
FIX: Improve email styling of code blocks (#10248)
Long numbered code lines were not rendered correctly in some email clients.
This commit is contained in:
parent
1fc58b5a4e
commit
22fdd5dfda
@ -196,7 +196,6 @@ module Email
|
||||
style('span.post-count', 'margin: 0 5px; color: #777;')
|
||||
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
||||
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('.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;')
|
||||
|
Loading…
x
Reference in New Issue
Block a user