Skip to content

Commit

Permalink
tweaks to accomodate most sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
shanbady committed Jan 8, 2025
1 parent 224be28 commit 377335a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions main/templates/email/subscribed_channel_digest.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,23 @@
<td style="padding: 10px 20px; width: 113px; height: 60px">
<div
style="
height: 60px !important;
width: 113px !important;
display: block;
overflow: hidden !important;
height: 60px;
width: 113px;
max-height: 60px !important;
max-width: 113px !important;
display: block;
"
>
<img
src="{{item.resource_image_url}}"
alt="{{item.resource_title}}"
style="background: #ffffff; max-width: 140%"
style="
display: block;
max-width: 200% !important;
background: #ffffff;
object-fit: contain;
"
/>
</div>
</td>
Expand Down

0 comments on commit 377335a

Please sign in to comment.