fix right-to-left text direction for legacy Outlook clients

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2024-01-15 00:02:44 +02:00
1 parent 15ff4386e5
commit a573545ead
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
<style>
</style>
</head>
<body dir="auto">
<body dir="<%= yield&.match?(/[\p{Hebrew}\p{Arabic}]/) ? 'rtl' : 'auto' %>">
<%= yield %>
<%= render partial: 'shared/mailer_attribution' %>
</body>