diff --git a/resources/css/app.css b/resources/css/app.css index 5d427e6..30318af 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -117,3 +117,13 @@ @apply fixed inset-y-0 right-0 z-50 flex w-full max-w-md flex-col bg-white shadow-xl transition-transform; } } + +/* Disable input number spinners (up/down arrows) */ +input[type=number]::-webkit-outer-spin-button, +input[type=number]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +input[type=number] { + -moz-appearance: textfield; +} diff --git a/resources/views/admin/drop-off-points.blade.php b/resources/views/admin/drop-off-points.blade.php index 69c0dfb..13efe8c 100644 --- a/resources/views/admin/drop-off-points.blade.php +++ b/resources/views/admin/drop-off-points.blade.php @@ -67,11 +67,11 @@
- +
- +
@@ -191,17 +191,7 @@ lngInput.value = e.latlng.lng.toFixed(6); }); - const syncFromInputs = () => { - const lat = parseFloat(latInput.value); - const lng = parseFloat(lngInput.value); - if (!isNaN(lat) && !isNaN(lng)) { - marker.setLatLng([lat, lng]); - map.panTo([lat, lng]); - } - }; - latInput.addEventListener('input', syncFromInputs); - lngInput.addEventListener('input', syncFromInputs); // Setup geocoding search const searchInput = document.getElementById('dop-search'); diff --git a/resources/views/admin/dumpsites.blade.php b/resources/views/admin/dumpsites.blade.php index b0a2219..532bb7c 100644 --- a/resources/views/admin/dumpsites.blade.php +++ b/resources/views/admin/dumpsites.blade.php @@ -46,8 +46,8 @@
-
-
+
+
@@ -184,17 +184,7 @@ lngInput.value = e.latlng.lng.toFixed(6); }); - const syncFromInputs = () => { - const lat = parseFloat(latInput.value); - const lng = parseFloat(lngInput.value); - if (!isNaN(lat) && !isNaN(lng)) { - marker.setLatLng([lat, lng]); - map.panTo([lat, lng]); - } - }; - latInput.addEventListener('input', syncFromInputs); - lngInput.addEventListener('input', syncFromInputs); // Setup geocoding search const searchInput = document.getElementById('ds-search');