discourse/app
Joe 994ca8f6de
FIX: Linear gradient with stops makes R2 confused (#17650)
Context: https://meta.discourse.org/t/the-theme-is-broken-in-right-to-left-languages-even-in-meta/233908

We use the R2 gem to do the magic RTL CSS conversion. There are cases where we feed it too much, and it gets confused. The issue here is that we use a linear gradient with CSS variables, an RGBA function, and we set the stops.

This makes R2 choke and causes it to return jumbled CSS, which means that any CSS that comes after that rule is junk and doesn't apply.

This PR removes the stops from the gradient. This shouldn't cause any visual changes since these are the default stops.

More explanation of the issue here: https://meta.discourse.org/t/user-card-will-not-open-on-the-mobile/171268/6?u=johani
2022-07-26 03:03:02 +08:00
..
assets FIX: Linear gradient with stops makes R2 confused (#17650) 2022-07-26 03:03:02 +08:00
controllers FEATURE: add categories page style to order topics by created date (#17500) 2022-07-25 09:41:43 -04:00
helpers DEV: Remove development cache-buster query parameter (#17444) 2022-07-12 11:53:59 +01:00
jobs FIX: Notify tag watchers when publishing topic (#17576) 2022-07-20 19:07:18 +03:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models FEATURE: add categories page style to order topics by created date (#17500) 2022-07-25 09:41:43 -04:00
serializers DEV: Add likes, mentions and replies tabs to the new user menu (#17623) 2022-07-25 15:19:53 +03:00
services DEV: Refactor user_badge_granted DiscourseEvent logic (#17579) 2022-07-22 09:06:02 +08:00
views UX: Prevent color flicker on dark themes (#17620) 2022-07-25 18:02:21 +08:00