discourse/app/assets/stylesheets
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
..
common FIX: Linear gradient with stops makes R2 confused (#17650) 2022-07-26 03:03:02 +08:00
desktop DEV: Fix failing spec due to cf5e59928e (#17606) 2022-07-22 14:50:31 +08:00
mobile FEATURE: Replace hamburger dropdown with Sidebar when undock (#17600) 2022-07-22 13:06:47 +08:00
vendor DEV: Fix various typos (#17485) 2022-07-14 08:56:25 +08:00
admin.scss
color_definitions.scss FEATURE: Replace hamburger dropdown with Sidebar when undock (#17600) 2022-07-22 13:06:47 +08:00
common.scss FEATURE: user status (#16875) 2022-05-27 13:15:14 +04:00
desktop_rtl.scss
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
embed.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile_rtl.scss
mobile.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
publish_desktop_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_desktop.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish.scss DEV: Remove SCSS color vars fallbacks (#13035) 2021-05-12 08:56:15 -04:00
testem.scss DEV: Make sure testing-container fits in the viewport (#17446) 2022-07-12 15:32:43 +02:00
wcag.scss UX: Fix hover state for flat buttons in WCAG schemes (#16601) 2022-05-03 08:48:58 +10:00
wizard.scss FIX: Wizard css was overriding some of core css (#17126) 2022-06-17 17:28:54 +02:00