Browse Source

Mailer layout fixes (#32132)

dariusk-working/4_3_0
Christian Schmidt 1 year ago committed by GitHub
parent
commit
9d664f87a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/javascript/styles/mailer.scss
  2. 2
      app/views/user_mailer/welcome.html.haml

2
app/javascript/styles/mailer.scss

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

2
app/views/user_mailer/welcome.html.haml

@ -9,7 +9,7 @@
%td
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%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' }
%tr
%td.email-header-card-body-td

Loading…
Cancel
Save