bug #37395 add .body wrapper element (Nemo64)
This PR was merged into the 4.4 branch.
Discussion
----------
add .body wrapper element
This change makes the notification email responsive.
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | none
| License | MIT
There was a wrapper missing from the foundation template.
This wrapper applies all `table.body table.container` styles from the foundation stylesheet
including font's and the responsive rules that were missing.
Commits
-------
5b74bbd288
add .body wrapper element
This commit is contained in:
commit
aeb0946df0
@ -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 %}
|
||||||
|
Reference in New Issue
Block a user