mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-17 20:16:14 +00:00
Mailer layout fixes (#32132)
This commit is contained in:
parent
24d3ce7bab
commit
9d664f87a0
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue