X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4dceacdeba42039a61f9bc9f56293f5652620e5b..cb0c185ce6515b1e9465781667886c0543531c4d:/app/assets/stylesheets/small.scss diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 1865572a3..984364736 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -98,7 +98,7 @@ body.small { display: inline-block; } - .map-layout { + &.map-layout { #sidebar, #map { position: relative; overflow-x: hidden; @@ -108,7 +108,10 @@ body.small { .overlay-sidebar { #sidebar { + position: absolute; width: 300px; + height: auto; + overflow: hidden; } #map { @@ -123,13 +126,13 @@ body.small { } } - #sidebar .welcome { + #sidebar .welcome, + #sidebar #banner { display: none !important; } .leaflet-top.leaflet-right { top: 10px !important; - z-index: 0; } .content_map { @@ -178,8 +181,8 @@ body.small { /* Rules for the sign-up page */ - .user-new, - .user-create { + &.user-new, + &.user-create { .col6 { width: 100%; } @@ -189,7 +192,7 @@ body.small { } } - .site-about #content .attr h1 { + &.site-about #content .attr h1 { font-size: 28px; }