Fix header z-index issue in UI.

The z-index of the header was set to 2000 because of Leaflet JS zoom
controls going over the header instead of under when scrolling. However,
this caused issues with the notifications and dropdowns (menu and
autocomplete).

Setting the z-index to 1001 is enough to fix the Leaflet JS issues,
without causing other issues.
This commit is contained in:
Orne Brocaar 2022-12-24 10:46:23 +00:00
parent 1813e6a7b2
commit 417179ba54

View File

@ -1,7 +1,3 @@
.ant-notification {
z-index: 3000;
}
.layout {
margin-left: 300px;
}
@ -9,7 +5,8 @@
.layout-header {
background: #ffffff;
box-shadow: 0px 0px 10px 0px #ccc;
z-index: 2000;
/* Leaflet JS zoom controls have z-index 1000. */
z-index: 1001;
position: fixed;
width: 100%;