Skip to content

Commit

Permalink
fix image size
Browse files Browse the repository at this point in the history
  • Loading branch information
rupinr committed Nov 3, 2024
1 parent b015aec commit be13210
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions email/news-letter.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
.entry img {
width: 100%;
height: auto;
max-width: 600px;
max-height: 400px;
border-radius: 5px;
}

Expand Down Expand Up @@ -68,7 +70,9 @@ <h1>QuickBrew Newsletter</h1>
<div class="entry">
<a href="{{.Link}}" target="_blank">
<h2>{{.Title}}</h2>
{{if .ImageURL}}
<img src="{{.ImageURL}}" alt="{{.Title}}">
{{end}}
</a>
</div>
{{end}}
Expand Down

0 comments on commit be13210

Please sign in to comment.