# RTL interface has wrong position for some of popup boxes

**URL:** <https://meta.discourse.org/t/rtl-interface-has-wrong-position-for-some-of-popup-boxes/51503>\
**Category:** Bug\
**Created:** [13 Ottobre 2016, 3:31pm UTC](https://meta.discourse.org/t/rtl-interface-has-wrong-position-for-some-of-popup-boxes/51503 "2016-10-13T15:31:46Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [25 Ottobre 2016, 2:20am UTC](https://meta.discourse.org/t/rtl-interface-has-wrong-position-for-some-of-popup-boxes/51503/10 "2016-10-25T02:20:21Z")

</div>

For the topic-admin-popup-menu, without changing a lot of code, I don’t see a good way to change the widget code to get it to work for rtl for both the time-line container (on the upper part of the page) and for the topic-footer-main-buttons.

I think you can use this custom css to get it to work for you. There may be an issue with setting `#main-outlet` to position `relative`, but I think it will be ok.

```css
.rtl {
    
    #main-outlet {
        position: relative;
    }

    #topic-footer-main-buttons .topic-admin-popup-menu[style] {
        left: auto !important;
       right: 8px !important;
    }

    .timeline-container .topic-admin-popup-menu[style] {
       left: auto !important;
       right: 40px !important;
    }
}

```

The share-link popup can be fixed for rtl. It just needs a switch in the code to check if the current locale is rtl. I’ll do that soon if no one else does it first.

---

_[View the full topic](https://meta.discourse.org/t/rtl-interface-has-wrong-position-for-some-of-popup-boxes/51503)._
