[openstreetmap/openstreetmap-website] Update gem, fix icons on RTL/Arabic pages (#1588)

Nick Doiron notifications at github.com
Mon Jul 17 23:58:31 UTC 2017


OSM uses the R2 gem to "flip" CSS for right-to-left languages.  In #1585 I explained how this is causing all but one icon to go missing on these languages' pages on OpenStreetMap.

![image](https://user-images.githubusercontent.com/643918/28294715-985565f2-6af7-11e7-80bd-6f79cdb6825a.png)

The issue got back to the R2 gem developer and he released a new version of the gem (0.2.7) where you can place a ```/* no-r2 */``` comment inside a CSS block and have sprites and other items not be modified. Due to how we use SASS, I believe that the comment needs to be inside each block.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1588

-- Commit Summary --

  * use no-r2 comment to block RTL gem from changing sprites

-- File Changes --

    M Gemfile (2)
    M app/assets/stylesheets/common.scss (30)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1588.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1588.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170717/23a427d3/attachment.html>


More information about the rails-dev mailing list