mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
text utils for RTL
This commit is contained in:
1 parent
98f5bba832
commit
f1ebd8f912
5 files changed
+26
-29
No files matched your search
@@ -6,7 +6,7 @@
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body dir="<%= yield&.match?(/[\p{Hebrew}\p{Arabic}]/) ? 'rtl' : 'auto' %>">
|
||||
<body dir="<%= yield&.match?(TextUtils::RTL_REGEXP) ? 'rtl' : 'auto' %>">
|
||||
<%= yield %>
|
||||
<%= render partial: 'shared/mailer_attribution' %>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user