From b57e2a9fb7f44dca2b3e7b48bd4bd4344cf887c2 Mon Sep 17 00:00:00 2001 From: dab246 Date: Wed, 24 Sep 2025 14:23:29 +0700 Subject: [PATCH] TF-4051 Fix text and images are truncated on mobile in received emails --- core/lib/utils/html/html_utils.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/lib/utils/html/html_utils.dart b/core/lib/utils/html/html_utils.dart index 7a60023a0..992213cb0 100644 --- a/core/lib/utils/html/html_utils.dart +++ b/core/lib/utils/html/html_utils.dart @@ -159,6 +159,16 @@ class HtmlUtils { table { white-space: normal !important; } + + @media only screen and (max-width: 600px) { + table { + width: 100% !important; + } + + a { + width: -webkit-fill-available !important; + } + } ${styleCSS ?? ''}