X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ecbe27b373bbe241af332d51a663192fd71a2520..bcc4897ef6ba4eb54abd7f3502e98cdf8c37f762:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index bef955509..ab6a4dece 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -590,6 +590,16 @@ nav.secondary { } } + #sidebar.minimized { + position: absolute; + z-index: 1000; + height: auto; + + #sidebar_content { + display: none; + } + } + #map { height: 100%; overflow: hidden; @@ -1022,6 +1032,21 @@ a.donate { margin: $lineheight/4; } +/* Rules for edit pages */ + +.site-edit { + #content { + position: absolute; + top: $headerHeight; + bottom: 0; + width: 100%; + } + + #map { + height: 100%; + } +} + /* Rules for non-map content pages */ .content-heading {