about summary refs log tree commit diff
path: root/app/views/stream_entries/_simple_status.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-28 01:52:31 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-28 01:52:31 +0100
commitd180aaa2a7e4026612dbc46243689f4f2e52c258 (patch)
tree41d7bc83eca82e6da4ab8e54b3ea6c2883de3173 /app/views/stream_entries/_simple_status.html.haml
parent809455aaaed1e576ca2613828ad009a93224afa0 (diff)
Fix #186 - Add RTL support to the compose form textarea and statuses output
Diffstat (limited to 'app/views/stream_entries/_simple_status.html.haml')
-rw-r--r--app/views/stream_entries/_simple_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/_simple_status.html.haml b/app/views/stream_entries/_simple_status.html.haml
index 95f90abd9..52ad39220 100644
--- a/app/views/stream_entries/_simple_status.html.haml
+++ b/app/views/stream_entries/_simple_status.html.haml
@@ -15,7 +15,7 @@
   .status__content.e-content.p-name.emojify<
     - unless status.spoiler_text.blank?
       %p= status.spoiler_text
-    = Formatter.instance.format(status)
+    %div{ style: "direction: #{rtl?(status.content) ? 'rtl' : 'ltr'}" }= Formatter.instance.format(status)
 
   - unless status.media_attachments.empty?
     .status__attachments