UX: limit onebox thumbnail image size in emails

This commit is contained in:
Arpit Jalan 2019-03-05 23:01:50 +05:30
parent 83f4c4a3f2
commit 1b2bd36061

View File

@ -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")