Compare commits
2 Commits
main
...
5e10d19bbd
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e10d19bbd | |||
| 1953df262c |
@@ -220,6 +220,21 @@ sidebar = L.control.sidebar({
|
|||||||
position: 'left'
|
position: 'left'
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
// Hides Map Controls on Mobile while Sidebar is open
|
||||||
|
sidebar.on('content', function () {
|
||||||
|
if (window.innerWidth < 769) {
|
||||||
|
document.querySelectorAll('.leaflet-top.leaflet-right').forEach(function (el) {
|
||||||
|
el.style.display = 'none';
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
sidebar.on('closing', function () {
|
||||||
|
document.querySelectorAll('.leaflet-top.leaflet-right').forEach(function (el) {
|
||||||
|
el.style.display = '';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// =====================================================================
|
// =====================================================================
|
||||||
// Block 6: Geoman Drawing Tools and CRUD Trigger
|
// Block 6: Geoman Drawing Tools and CRUD Trigger
|
||||||
|
|||||||
@@ -1249,6 +1249,15 @@ select.form-input { cursor: pointer; }
|
|||||||
/* Legal */
|
/* Legal */
|
||||||
.page-content-box { padding: 20px; }
|
.page-content-box { padding: 20px; }
|
||||||
.page-container { padding: 0 8px; }
|
.page-container { padding: 0 8px; }
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------
|
||||||
|
6.1 Prevents iOS Auto-Zoom on Inputs
|
||||||
|
--------------------------------------------------------- */
|
||||||
|
input, textarea, select {
|
||||||
|
font-size: 16px !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 769px) {
|
@media (min-width: 769px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user