Skip to content

Commit 9b8b84c

Browse files
Merge pull request #1474 from IFRCGo/fix/flash-update-pdf
Change image size in flash pdf
2 parents 1bbadb5 + 4929370 commit 9b8b84c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

notifications/templates/email/flash_update/flash_pdf.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<style>
4-
table, tr, td {
4+
td {
55
border: 5px solid white;
6-
height: 240px;
6+
height: 230px;
77
width: 240px;
8+
background-color: #f3f2f3;
89
}
910
.text-left {
1011
text-align: left;
@@ -54,15 +55,15 @@ <h2 class="heading">Graphics and Maps</h2>
5455
<table>
5556
<tr>
5657
{% for map in map_list %}
57-
<td><img src="{{map.image}}" alt="image"></td>
58+
<td><img style='width:100%; height:100%;' src="{{map.image}}" alt="image"></td>
5859
{% endfor %}
5960
</tr>
6061
</table>
6162

6263
<table>
6364
<tr>
6465
{% for graphic in graphic_list %}
65-
<td><img src="{{graphic.image}}" alt="image"></td>
66+
<td><img style='width:100%; height:100%;' src="{{graphic.image}}" alt="image"></td>
6667
{% endfor %}
6768
</tr>
6869
</table>

0 commit comments

Comments
 (0)