]> git.openstreetmap.org Git - rails.git/commitdiff
Change map placement in small screen mode
authorTom Hughes <tom@compton.nu>
Sun, 25 Nov 2012 18:36:55 +0000 (18:36 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 25 Nov 2012 18:36:55 +0000 (18:36 +0000)
This mirrors the way the map is now handled in large screen mode, and
makes it display properly in the Android browser.

app/assets/stylesheets/small.css.scss

index e690924b57d927e5e77ea19778bb3a6041ebf2fb..5d658fdc10468c16eb0d2aaf53e8e801de590665 100644 (file)
@@ -101,7 +101,7 @@ h1 {
 
 .site-index .leaflet-top,
 .site-export .leaflet-top {
 
 .site-index .leaflet-top,
 .site-export .leaflet-top {
-  top: 8px !important;
+  top: 47px !important;
 }
 
 /* Rules for the main content area */
 }
 
 /* Rules for the main content area */
@@ -113,12 +113,6 @@ h1 {
   border-right: 0px;
 }
 
   border-right: 0px;
 }
 
-.site-export #content,
-.site-edit #content,
-.site-index #content {
-  margin-top: 40px;
-}
-
 /* Rules for search sidebar when shown */
 
 #sidebar {
 /* Rules for search sidebar when shown */
 
 #sidebar {