Mailer layout fixes (#32132)

This commit is contained in:
Christian Schmidt 2024-09-27 21:41:41 +02:00 committed by GitHub
parent 24d3ce7bab
commit 9d664f87a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -366,6 +366,7 @@ table + p {
.email-header-card-banner-td { .email-header-card-banner-td {
border-radius: 12px 12px 0 0; border-radius: 12px 12px 0 0;
width: 236px;
height: 80px; height: 80px;
background-color: #f3f2f5 !important; background-color: #f3f2f5 !important;
background-position: center !important; background-position: center !important;
@ -523,6 +524,7 @@ table + p {
height: 40px; height: 40px;
text-align: center; text-align: center;
mso-padding-alt: 0 35px; mso-padding-alt: 0 35px;
word-break: normal;
} }
.email-btn-a { .email-btn-a {

View File

@ -9,7 +9,7 @@
%td %td
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' } %table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr %tr
%td.email-header-card-banner-td{ height: 140, background: full_asset_url(instance_presenter.thumbnail&.file&.url(:'@1x') || frontend_asset_path('images/preview.png')) } %td.email-header-card-banner-td{ background: full_asset_url(instance_presenter.thumbnail&.file&.url(:'@1x') || frontend_asset_path('images/preview.png')) }
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' } %table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr %tr
%td.email-header-card-body-td %td.email-header-card-body-td