# Positioning issues with RTL locales after recent updates

**URL:** <https://meta.discourse.org/t/positioning-issues-with-rtl-locales-after-recent-updates/280220>\
**Category:** Bug\
**Created:** [September 26, 2023, 9:26pm UTC](https://meta.discourse.org/t/positioning-issues-with-rtl-locales-after-recent-updates/280220 "2023-09-26T21:26:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [September 26, 2023, 10:04pm UTC](https://meta.discourse.org/t/positioning-issues-with-rtl-locales-after-recent-updates/280220/2 "2023-09-26T22:04:35Z")

</div>

> [@inj3ct0r](#):
>
> after last update today i got a crashed user card

There used to be special handling of the user card position for RTL locales: [https://github.com/discourse/discourse/blob/4896a7dec79203cd44265bb2372c2b4a223c3d26/app/assets/javascripts/discourse/views/user-card.js.es6#L86-L120](https://github.com/discourse/discourse/blob/4896a7dec79203cd44265bb2372c2b4a223c3d26/app/assets/javascripts/discourse/views/user-card.js.es6#L86-L120)

With the updates to the user card, that seems to have been removed. The `left` position in the user card’s inline styles is wrong for RTL locales. From memory, I think the easiest way to deal with it is to set a `right` position for the user card when an RTL locale is used. The `left` and `right` properties can’t just be switched in the inline style rule though.

---

_[View the full topic](https://meta.discourse.org/t/positioning-issues-with-rtl-locales-after-recent-updates/280220)._
