AntonKhorev left a comment (openstreetmap/openstreetmap-website#5835)

> This would not be useful. Each paragraph needs to have dir="auto" separately.

If you want a single comment with different language paragraphs, then looks 
like yes, you need `dir` on paragraphs.

> Thanks for the tip though, I will look into how to do that...

Something like this:
```erb
          <div class="mx-2 comment_text">
            <%= comment.body.to_html %>
          </div>
```

```css
.comment_text {
  p {
    text-align: start;
  }
}
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5835#issuecomment-2744547472
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5835/c2744547...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to