svilalta commited on
Commit
1bb200d
verified
1 Parent(s): 1c8a343

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -7
index.html CHANGED
@@ -540,13 +540,13 @@ Arrecifes de coral, vistas al oc茅ano, playas de arena blanca. Cada rinc贸n es i
540
  const popupContent = `
541
  <div class="custom-popup w-64">
542
  <div class="flex items-start">
543
- <div class="h-24 w-32 rounded-md overflow-hidden bg-gray-200 flex items-center justify-center">
544
- <img src="${location.image}"
545
- alt="${location.name}"
546
- class="w-full h-full object-cover"
547
- onload="this.closest('.leaflet-popup-content-wrapper').style.height='auto';"
548
- onerror="this.style.display='none'">
549
- </div>
550
  <div class="ml-4">
551
  <h3 class="text-lg font-medium text-gray-900">${location.name}</h3>
552
  <div class="flex items-center mt-1">
 
540
  const popupContent = `
541
  <div class="custom-popup w-64">
542
  <div class="flex items-start">
543
+ <div class="h-24 w-24 rounded-md overflow-hidden bg-gray-200 flex items-center justify-center">
544
+ <img src="${location.image}"
545
+ alt="${location.name}"
546
+ class="w-full h-full object-cover"
547
+ onload="this.closest('.leaflet-popup-content-wrapper').style.height='auto';"
548
+ onerror="this.style.display='none'">
549
+ </div>
550
  <div class="ml-4">
551
  <h3 class="text-lg font-medium text-gray-900">${location.name}</h3>
552
  <div class="flex items-center mt-1">