From: Anton Khorev Date: Mon, 13 Nov 2023 09:24:51 +0000 (+0300) Subject: Remove custom css and large left margin for map noscript message X-Git-Tag: live~944^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/138aaf0f7aabeaf9a0ed8d0895e6eff6b64b640f?ds=inline;hp=--cc Remove custom css and large left margin for map noscript message --- 138aaf0f7aabeaf9a0ed8d0895e6eff6b64b640f diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 023dcdca7..864b075bb 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -318,14 +318,6 @@ body.small-nav { font-weight: $font-weight-normal; } -/* Rules for the message shown in place of the map when javascript is disabled */ - -#noscript { - z-index: 20000000; - margin-left: 400px; - margin-top: 50px; -} - /* Rules for Leaflet maps */ .leaflet-top.leaflet-right, diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index a3d303c53..a4e1891ff 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -67,7 +67,7 @@