]> git.openstreetmap.org Git - rails.git/commitdiff
Flip header image horizontally on RTL pages
authorTom Hughes <tom@compton.nu>
Mon, 25 Feb 2019 18:58:19 +0000 (18:58 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 25 Feb 2019 19:02:21 +0000 (19:02 +0000)
Fixes #2158

app/assets/stylesheets/common.scss

index 9f01735fdfe27c989cc7089a0f9889be7dd28186..71df217b3b5426a2ce5271d13ffdc1a5225b2166 100644 (file)
@@ -1460,6 +1460,10 @@ tr.turn:hover {
   }
 }
 
+[dir=rtl] .header-illustration {
+  transform: scaleX(-1);
+}
+
 #content.maximised {
   top: 0;
   left: 0;