discourse/app/assets/stylesheets/common
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
..
admin UX: Make space for scrollbar in mini-profiler (#17524) 2022-07-16 10:12:44 +02:00
base FIX: Linear gradient with stops makes R2 confused (#17650) 2022-07-26 03:03:02 +08:00
components FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
foundation UX: option to account for the sidebar in the breakpoint mixin (#17577) 2022-07-20 10:56:41 +08:00
modal FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
select-kit UX: switch highlight/select colours in select-kit (#17356) 2022-07-06 16:49:36 +02:00
d-editor.scss UX: Prevent long toolbars from resizing the column (#17538) 2022-07-17 20:16:11 +02:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Refactor popup-tip component (#15257) 2021-12-13 11:22:02 -05:00
printer-friendly.scss UX: print view always shows 0 votes, hide it (#15901) 2022-03-08 15:35:31 +01:00
software-update-prompt.scss UX: Add hover style to refresh-page dismiss button (#15711) 2022-02-01 20:04:46 +01:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: Improve timeline touch hit areas (#16038) 2022-02-23 17:55:48 +01:00