X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/774a8dd5f9ed6e6c24c30b36dc8c1a13a4030127..4cf3c3b6ed7cc6ab0728b320afde5854489629fb:/app/assets/stylesheets/small.scss diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index e5634e11d..0b62256a9 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -9,10 +9,6 @@ body.small { -webkit-appearance: none; } - .column-1 { - width: 100%; - } - #menu-icon { display: inline-block !important; } @@ -91,34 +87,7 @@ body.small { .compact-hide { display: inline-block; } - - &.map-layout { - #sidebar, #map { - position: relative; - overflow-x: hidden; - width: 100%; - height: 50%; - } - - .overlay-sidebar { - #sidebar { - position: absolute; - width: 300px; - height: auto; - overflow: hidden; - } - - #map { - height: 100%; - } - } - - #map-ui { - z-index: 9999; - width: 100%; - overflow-y: scroll; - } - } + .overlay-sidebar #sidebar .welcome.visible { display: none; @@ -132,15 +101,6 @@ body.small { top: 10px !important; } - .content_map { - width: 100%; - border: none; - float: none; - height: 200px; - max-height: none; - min-height: auto; - } - /* Rules for the login form */ #login_login input#user_email { @@ -181,3 +141,33 @@ body.small { } } + +@media (max-width: 767.98px) { + body.map-layout { + #sidebar, #map { + position: relative; + overflow-x: hidden; + width: 100%; + height: 50%; + } + + .overlay-sidebar { + #sidebar { + position: absolute; + width: 300px; + height: auto; + overflow: hidden; + } + + #map { + height: 100%; + } + } + + #map-ui { + z-index: 9999; + width: 100%; + overflow-y: scroll; + } + } +}