# Avatar em site rtl em lugar errado

**URL:** <https://meta.discourse.org/t/avatar-in-rtl-website-in-wrong-place/264676>\
**Category:** Bug\
**Created:** [Maio 11, 2023, 4:19pm UTC](https://meta.discourse.org/t/avatar-in-rtl-website-in-wrong-place/264676 "2023-05-11T16:19:54Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [Maio 29, 2023, 10:36pm UTC](https://meta.discourse.org/t/avatar-in-rtl-website-in-wrong-place/264676/10 "2023-05-29T22:36:32Z")

</div>

Aqui está um PR para corrigir este bug:

> <https://github.com/discourse/discourse/pull/21815>
>
> We currently have some CSS rules in \`common/base/rtl.scss\` that were added to wo…rkaround shortcomings of the R2 gem that we used to use to generate a version of our CSS that's suitable for RTL layouts. Those workarounds are mostly duplicate rules with the only difference being that they're flipped to suit RTL layouts.
> 
> However, we've recently replaced R2 with \`rtlcss\` which doesn't have those shortcomings of R2 (see https://github.com/discourse/discourse/commit/f94951147ea9d1c48ea68f0dabd568e70cb94674) which means those workarounds/duplicate rules need to be removed because they're getting flipped by \`rltcss\`, essentially reverting them to their original LTR version and causing issues with RTL layouts.
> 
> This PR removes those workarounds that are no longer needed, and cleans up the the file that contains our RTL-specific CSS.
> 
> Meta topic: https://meta.discourse.org/t/avatar-in-rtl-website-in-wrong-place/264676?u=osama.

(ainda não foi mesclado, mas deve ser esta semana)

Obrigado por relatar este bug, @hosna!

---

_[View the full topic](https://meta.discourse.org/t/avatar-in-rtl-website-in-wrong-place/264676)._
