diff --git a/core/lib/presentation/extensions/html_extension.dart b/core/lib/presentation/extensions/html_extension.dart
index 30dff7315..debe5daf4 100644
--- a/core/lib/presentation/extensions/html_extension.dart
+++ b/core/lib/presentation/extensions/html_extension.dart
@@ -35,4 +35,9 @@ extension HtmlExtension on String {
}
return this;
}
+
+ String addCiteTag() => addBlockTag(
+ 'cite',
+ attribute: 'style="text-align: left;display: block;"'
+ );
}
\ No newline at end of file
diff --git a/core/lib/presentation/utils/html_transformer/html_utils.dart b/core/lib/presentation/utils/html_transformer/html_utils.dart
index d1c659265..221b7de53 100644
--- a/core/lib/presentation/utils/html_transformer/html_utils.dart
+++ b/core/lib/presentation/utils/html_transformer/html_utils.dart
@@ -75,7 +75,7 @@ class HtmlUtils {
const options = {
root: null, // Use the viewport as the root
rootMargin: "0px",
- threshold: 0.1 // Specify the threshold for intersection
+ threshold: 0 // Specify the threshold for intersection
};
const handleIntersection = (entries, observer) => {
@@ -131,6 +131,10 @@ class HtmlUtils {
border-radius: 4px;
overflow: auto;
}
+
+ div.tmail-signature {
+ text-align: left;
+ }
''';
} else if (PlatformInfo.isMobile) {
@@ -138,6 +142,10 @@ class HtmlUtils {
#editor {
direction: ${direction.name};
}
+
+ div.tmail-signature {
+ text-align: left;
+ }
''';
} else {
return '';