Fixes for email designs and cross client compatibility

This commit is contained in:
David Bomba 2023-02-16 10:29:18 +11:00
parent 1d9f32a8a8
commit 4c77739bcd
2 changed files with 4 additions and 14 deletions

View File

@ -166,14 +166,9 @@
<tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="570" style="border: 1px solid #c2c2c2;">
<tr>
<div style="text-align: center;padding-top: 25px; padding-bottom: 10px; background-color:#f9f9f9;">
<!-- Top side spacing. -->
</div>
</tr>
<tr>
<td align="center" >
<div class="dark-bg" style="background-color:#f9f9f9; padding-bottom: 20px;">
<div class="dark-bg" style="background-color:#f9f9f9; padding-bottom: 20px; padding-top: 20px;">
<img class="logo-light" src="{{ $logo ?? '' }}" width="65%" height="" alt="alt_text" border="0" style="width: 100%; max-width: 65%; height: auto; display: block;" class="g-img">
</div>
</td>

View File

@ -150,21 +150,16 @@
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="570" style="border: 1px solid #c2c2c2; table-layout:fixed;">
<tr>
<div style="text-align: center;padding-top: 25px; padding-bottom: 10px;"></div>
</tr>
<tr height="50%">
<td align="center" cellpadding="20">
<div style="padding-bottom: 10px; padding-top:10px; border-top-left-radius: 3px; border-top-right-radius: 3px;">
<td align="center">
<div style="border-top-left-radius: 3px; border-top-right-radius: 3px; padding-bottom: 20px; padding-top:20px;">
<img class="logo-light" src="{{ $logo ?? '' }}" width="65%" height="" alt="alt_text" border="0" style="width: 100%; max-width: 65%; height: auto; display: block;" class="g-img">
</div>
</td>
</tr>
<tr>
<td cellpadding="5">
<td>
<div style="padding: 20px; text-align: {{ $email_alignment }}" id="content">
<div style="padding-top: 10px;"></div>
{{ $slot ?? '' }}
{!! $body ?? '' !!}