Put mail template style tags in the head (#951)

This commit is contained in:
Romain 'Maz' BILLOIR 2023-07-26 19:17:02 +02:00 committed by GitHub
parent 646621cee8
commit 71479dd51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -7,13 +7,12 @@ name = "Default layout"
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<style type="text/css" media="screen">
{{ brandCss|raw }}
{{ css|raw }}
</style>
</head>
<body>
<table class="wrapper layout-default" width="100%" cellpadding="0" cellspacing="0">
<!-- Header -->

View File

@ -11,13 +11,12 @@ This is an automatic message. Please do not reply to it.
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<style type="text/css" media="screen">
{{ brandCss|raw }}
{{ css|raw }}
</style>
</head>
<body>
<table class="wrapper layout-system" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">