add .body wrapper element

This change makes the notification email responsive.
This commit is contained in:
Marco Pfeiffer 2020-06-23 11:57:07 +02:00 committed by GitHub
parent 030b10ca0d
commit 5b74bbd288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@
</head>
<body>
<spacer size="32"></spacer>
<wrapper class="body">
<container class="body_{{ ("urgent" == importance ? "alert" : ("high" == importance ? "warning" : "default")) }}">
<spacer size="16"></spacer>
<row>
@ -58,6 +59,7 @@
{% endblock %}
</wrapper>
</container>
</wrapper>
</body>
</html>
{% endapply %}