Fix #2363 – Email: change text-alignment from center to left (right for rtl) (#2364)

This commit is contained in:
Richard Schreiber
2021-12-03 13:44:06 +01:00
committed by GitHub
parent d0685e99ad
commit 0fd3d0fe71
2 changed files with 11 additions and 9 deletions

View File

@@ -85,9 +85,6 @@
-webkit-hyphens: auto; -webkit-hyphens: auto;
hyphens: auto; hyphens: auto;
} }
p:last-child {
margin-bottom: 0;
}
.footer { .footer {
padding: 10px; padding: 10px;
@@ -116,6 +113,9 @@
width: 100%; width: 100%;
height: auto; height: auto;
} }
.content {
text-align: left;
}
.content table { .content table {
width: 100%; width: 100%;
@@ -142,7 +142,8 @@
} }
.order-button { .order-button {
padding-top: 5px padding-top: 5px;
text-align: center;
} }
.order-button a.button { .order-button a.button {
font-size: 12px; font-size: 12px;
@@ -173,7 +174,7 @@
body { body {
direction: rtl; direction: rtl;
} }
.content table td { .content {
text-align: right; text-align: right;
} }
{% endif %} {% endif %}

View File

@@ -104,9 +104,6 @@
-webkit-hyphens: auto; -webkit-hyphens: auto;
hyphens: auto; hyphens: auto;
} }
p:last-child {
margin-bottom: 0;
}
.footer { .footer {
padding: 10px; padding: 10px;
@@ -136,6 +133,10 @@
display: block; display: block;
} }
.content {
text-align: left;
}
.content table { .content table {
width: 100%; width: 100%;
} }
@@ -197,7 +198,7 @@
body { body {
direction: rtl; direction: rtl;
} }
.content table td { .content {
text-align: right; text-align: right;
} }
{% endif %} {% endif %}