Spaces:
Running
Running
once the task is seen on the pop up if i click off the pop up it has to vanish allowing me to see the calendar once more and this action can be repeated
Browse files- calendar.html +3 -3
calendar.html
CHANGED
|
@@ -18,9 +18,9 @@
|
|
| 18 |
</div>
|
| 19 |
</main>
|
| 20 |
<!-- Enhanced Task Info Modal -->
|
| 21 |
-
<div class="modal fade fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden" id="taskInfoModal">
|
| 22 |
-
<div class="bg-white rounded-xl shadow-lg w-full max-w-2xl mx-4 max-h-[90vh] overflow-y-auto">
|
| 23 |
-
|
| 24 |
<h3 class="text-xl font-semibold text-gray-800">Task Details</h3>
|
| 25 |
<button onclick="document.getElementById('taskInfoModal').classList.add('hidden')"
|
| 26 |
class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100">
|
|
|
|
| 18 |
</div>
|
| 19 |
</main>
|
| 20 |
<!-- Enhanced Task Info Modal -->
|
| 21 |
+
<div class="modal fade fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden" id="taskInfoModal" onclick="if(event.target === this) this.classList.add('hidden')">
|
| 22 |
+
<div class="bg-white rounded-xl shadow-lg w-full max-w-2xl mx-4 max-h-[90vh] overflow-y-auto" onclick="event.stopPropagation()">
|
| 23 |
+
<div class="flex justify-between items-center sticky top-0 bg-white p-4 border-b border-gray-200 z-10">
|
| 24 |
<h3 class="text-xl font-semibold text-gray-800">Task Details</h3>
|
| 25 |
<button onclick="document.getElementById('taskInfoModal').classList.add('hidden')"
|
| 26 |
class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100">
|