header {
height: $headerHeight;
position: relative;
- z-index: 1001;
font-size: 14px;
h1, nav, nav > ul, nav > ul > li {
.overlay-sidebar #sidebar {
position: absolute;
- z-index: 1000;
height: auto;
overflow: hidden;
}
#map-ui {
- z-index: 9999;
width: 100%;
height: 50%;
overflow-y: scroll;
-<header class="d-flex bg-body text-nowrap closed">
+<header class="d-flex bg-body text-nowrap closed z-3">
<h1 class="m-0 fw-semibold">
<a href="<%= root_path %>" class="text-body-emphasis text-decoration-none geolink">
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %>
<% end %>
<% content_for :content do %>
- <div id="sidebar" class="bg-body">
+ <div id="sidebar" class="bg-body z-1">
<%= render :partial => "layouts/search", :locals => { :autofocus => true } %>
<div id="flash">
</div>
</noscript>
- <div id="map-ui" class="bg-body">
+ <div id="map-ui" class="bg-body z-2">
</div>
<div id="map" tabindex="2" class="z-0">