# UI Bug GitHub Preview URL When Discourse is RTL

**URL:** https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725
**Category:** UX
**Created:** [October 23, 2019, 2:25pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725 "2019-10-23T14:25:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![YaserAlnajjar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yaseralnajjar/32/100729_2.png) [@YaserAlnajjar](https://meta.discourse.org/u/YaserAlnajjar)
#### Post date: [October 23, 2019, 2:25pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/1 "2019-10-23T14:25:53Z")

</div>

I realized that GitHlub link previews are shown malformed when Discourse is set to RTL language (like Arabic).

Sample:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/d/fd23330fecfe21deb08214d35e0a71ac244bd117.png)

---

<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: [October 23, 2019, 4:55pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/2 "2019-10-23T16:55:48Z")

</div>

The problem seems to be that it is inheriting the list style from the RTL css. I’ll take a look at it and see if there’s a way to fix the issue.

---

<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: [October 28, 2019, 6:14pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/4 "2019-10-28T18:14:09Z")

</div>

This has been fixed by [Fix github oneboxes for RTL locales by scossar · Pull Request #8245 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/8245#issuecomment-546451774).

---

<div class="post-metadata">

### Author: ![YaserAlnajjar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yaseralnajjar/32/100729_2.png) [@YaserAlnajjar](https://meta.discourse.org/u/YaserAlnajjar)
#### Post date: [October 28, 2019, 9:09pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/5 "2019-10-28T21:09:33Z")

</div>

I’ll try this out (and let you know) once I update our Discourse soon…

Thanks Simon!

And thanks to all Discourse team for making the internet a better place ❤

---

<div class="post-metadata">

### Author: ![YaserAlnajjar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yaseralnajjar/32/100729_2.png) [@YaserAlnajjar](https://meta.discourse.org/u/YaserAlnajjar)
#### Post date: [October 29, 2019, 3:14pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/6 "2019-10-29T15:14:22Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/3/0/30ad3d3ac7faf20c1679f1f862fbc73d94c6f5d6.png)

Works like a charm… thanks again!

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [October 31, 2019, 1:49pm UTC](https://meta.discourse.org/t/ui-bug-github-preview-url-when-discourse-is-rtl/131725/7 "2019-10-31T13:49:29Z")

</div>


