UX: limit onebox thumbnail image size in emails

UX: limit onebox thumbnail image size in emails

diff --git a/lib/email/styles.rb b/lib/email/styles.rb
index 33ae884..701c9ec 100644
--- a/lib/email/styles.rb
+++ b/lib/email/styles.rb
@@ -119,6 +119,7 @@ module Email
       style('aside.onebox header a[href]', "color: #222222; text-decoration: none;")
       style('aside.onebox .onebox-body', "clear: both")
       style('aside.onebox .onebox-body img', "max-height: 80%; max-width: 20%; height: auto; float: left; margin-right: 10px;")
+      style('aside.onebox .onebox-body img.thumbnail', "width: 60px;")
       style('aside.onebox .onebox-body h3, aside.onebox .onebox-body h4', "font-size: 1.17em; margin: 10px 0;")
       style('.onebox-metadata', "color: #919191")

GitHub sha: 1b2bd360

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: