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,7 +10,8 @@
</head> </head>
<body> <body>
<spacer size="32"></spacer> <spacer size="32"></spacer>
<container class="body_{{ ("urgent" == importance ? "alert" : ("high" == importance ? "warning" : "default")) }}"> <wrapper class="body">
<container class="body_{{ ("urgent" == importance ? "alert" : ("high" == importance ? "warning" : "default")) }}">
<spacer size="16"></spacer> <spacer size="16"></spacer>
<row> <row>
<columns large="12" small="12"> <columns large="12" small="12">
@ -57,7 +58,8 @@
</row> </row>
{% endblock %} {% endblock %}
</wrapper> </wrapper>
</container> </container>
</wrapper>
</body> </body>
</html> </html>
{% endapply %} {% endapply %}