FIX: Use correct spacing in emails with code (#9274)

FIX: Use correct spacing in emails with code (#9274)

Follow-up-to 778454e26b5c38c94dad6ccbc9f11439a51f6b6d

diff --git a/lib/email/styles.rb b/lib/email/styles.rb
index 0b6c3f8..4d299fc 100644
--- a/lib/email/styles.rb
+++ b/lib/email/styles.rb
@@ -195,7 +195,8 @@ module Email
       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('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('.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;')

GitHub sha: ba1a0851

This commit appears in #9274 which was approved by eviltrout. It was merged by nbianca.