Сделай пожалуйста чтобы надписи в кейсах с overlay карточек не выходили за рамки а меняли размер в зависимости от длины текста - Follow Up Deployment
Browse files- index.html +17 -3
index.html
CHANGED
|
@@ -69,6 +69,20 @@
|
|
| 69 |
transform: translateY(-10px);
|
| 70 |
box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
|
| 71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
.property-card.visible {
|
| 73 |
display: block;
|
| 74 |
}
|
|
@@ -587,10 +601,10 @@
|
|
| 587 |
</div>
|
| 588 |
</div>
|
| 589 |
<div class="p-6">
|
| 590 |
-
<h3 class="text-xl font-semibold mb-2">Вилла в Буюканах</h3>
|
| 591 |
<div class="flex items-center text-gray-400 mb-4">
|
| 592 |
<i class="fas fa-map-marker-alt mr-2 gold-text"></i>
|
| 593 |
-
<span>Кишинёв, сектор Буюканы, ул. Алба Юлия 194/2</span>
|
| 594 |
</div>
|
| 595 |
<div class="grid grid-cols-3 gap-2 mb-4">
|
| 596 |
<div class="text-center">
|
|
@@ -1435,7 +1449,7 @@
|
|
| 1435 |
</div>
|
| 1436 |
<div class="p-3">
|
| 1437 |
<h4 class="font-bold text-sm mb-1 truncate">${propertyTitle}</h4>
|
| 1438 |
-
<p class="text-gray-600 text-xs mb-2
|
| 1439 |
<i class="fas fa-map-marker-alt text-yellow-500 mr-1"></i>
|
| 1440 |
${propertyAddress}
|
| 1441 |
</p>
|
|
|
|
| 69 |
transform: translateY(-10px);
|
| 70 |
box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
|
| 71 |
}
|
| 72 |
+
|
| 73 |
+
.property-card h3 {
|
| 74 |
+
white-space: nowrap;
|
| 75 |
+
overflow: hidden;
|
| 76 |
+
text-overflow: ellipsis;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.property-card .flex.items-center span {
|
| 80 |
+
white-space: nowrap;
|
| 81 |
+
overflow: hidden;
|
| 82 |
+
text-overflow: ellipsis;
|
| 83 |
+
display: inline-block;
|
| 84 |
+
max-width: calc(100% - 24px); /* учитываем ширину иконки */
|
| 85 |
+
}
|
| 86 |
.property-card.visible {
|
| 87 |
display: block;
|
| 88 |
}
|
|
|
|
| 601 |
</div>
|
| 602 |
</div>
|
| 603 |
<div class="p-6">
|
| 604 |
+
<h3 class="text-xl font-semibold mb-2 truncate">Вилла в Буюканах</h3>
|
| 605 |
<div class="flex items-center text-gray-400 mb-4">
|
| 606 |
<i class="fas fa-map-marker-alt mr-2 gold-text"></i>
|
| 607 |
+
<span class="truncate">Кишинёв, сектор Буюканы, ул. Алба Юлия 194/2</span>
|
| 608 |
</div>
|
| 609 |
<div class="grid grid-cols-3 gap-2 mb-4">
|
| 610 |
<div class="text-center">
|
|
|
|
| 1449 |
</div>
|
| 1450 |
<div class="p-3">
|
| 1451 |
<h4 class="font-bold text-sm mb-1 truncate">${propertyTitle}</h4>
|
| 1452 |
+
<p class="text-gray-600 text-xs mb-2 truncate">
|
| 1453 |
<i class="fas fa-map-marker-alt text-yellow-500 mr-1"></i>
|
| 1454 |
${propertyAddress}
|
| 1455 |
</p>
|