From 51ea63335c73cc36e8bc8c56cc32d8639448dc84 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 16 Jun 2023 15:05:08 +0200 Subject: [PATCH] Email renderers: Unify some CSS details --- .../templates/pretixbase/email/simple_logo.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pretix/base/templates/pretixbase/email/simple_logo.html b/src/pretix/base/templates/pretixbase/email/simple_logo.html index e2ffd5fd6..6f445708f 100644 --- a/src/pretix/base/templates/pretixbase/email/simple_logo.html +++ b/src/pretix/base/templates/pretixbase/email/simple_logo.html @@ -91,12 +91,9 @@ /* These are technically the same, but use both */ overflow-wrap: break-word; word-wrap: break-word; + word-break: break-word; -ms-word-break: break-all; - /* This is the dangerous one in WebKit, as it breaks things wherever */ - word-break: break-all; - /* Instead use this non-standard one: */ - word-break: break-word; /* Adds a hyphen where the word breaks, if supported (No Blink) */ -ms-hyphens: auto; @@ -105,6 +102,11 @@ hyphens: auto; } + p a { + word-wrap: anywhere; + word-break: break-all; + } + .footer { padding: 10px; text-align: center; @@ -165,9 +167,6 @@ color: {{ color }}; } - .order { - border-top: 1px solid #ccc; - } .order-button { padding-top: 5px; text-align: center; @@ -180,6 +179,7 @@ } .order { + border-top: 1px solid #ccc; font-size: 12px; }