Skip to content

Commit 1ce0a30

Browse files
authored
Fix mail background colour and line for Outlook (joomla#44985)
1 parent a971099 commit 1ce0a30

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

layouts/joomla/mail/mailtemplate.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
table, td, div, h1, p { font-family: Arial, sans-serif; }
6363
</style>
6464
</head>
65-
<body style="margin:0;padding:0;word-spacing:normal;background-color:#00000008;height:100%;">
66-
<div role="article" aria-roledescription="email" style="text-size-adjust:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background-color:#00000008;height:100%;">
65+
<body style="margin:0;padding:0;word-spacing:normal;background-color:#efefef;height:100%;">
66+
<div role="article" aria-roledescription="email" style="text-size-adjust:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background-color:#efefef;height:100%;">
6767
<table role="presentation" style="width:100%;border:none;border-spacing:0;height:100%;">
6868
<tr>
6969
<td align="center" style="vertical-align:baseline; padding:30px 0">
@@ -83,8 +83,14 @@
8383
<?php echo $extraData['siteName']; ?>
8484
</h1>
8585
<?php endif; ?>
86-
<div style="padding: 30px 0 0;"></div>
87-
<div style="padding:.75px;background-color:#0000000f;"></div>
86+
<table style="width:100%;">
87+
<tr>
88+
<td style="border:15px solid #ffffff;"></td>
89+
</tr>
90+
<tr>
91+
<td style="border:1px solid #efefef;background-color:#efefef;padding:0;"></td>
92+
</tr>
93+
</table>
8894
</td>
8995
</tr>
9096
<tr>

0 commit comments

Comments
 (0)