Skip to content

Commit

Permalink
Put mail template style tags in the head (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMazB committed Jul 26, 2023
1 parent 89e742c commit 1a51f3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions views/mail/layout-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
<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 -->
Expand Down
5 changes: 2 additions & 3 deletions views/mail/layout-system.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
<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">
Expand Down

0 comments on commit 1a51f3e

Please sign in to comment.