fix: sửa lỗi hiển thị logo trên trang pdf
This commit is contained in:
@@ -546,8 +546,9 @@ export const ExploreMap = ({ onBack, onLogout, user, onViewTour, onOpenMyPhotos,
|
||||
className: 'custom-photo-bubble',
|
||||
html: `
|
||||
<a href="${window.location.origin}/api/v1/public-photos/${latestPhoto.id}/share" onclick="event.preventDefault();" class="relative group block">
|
||||
<div class="w-12 h-12 rounded-full border-4 border-emerald-500 shadow-lg overflow-hidden transition-transform group-hover:scale-110">
|
||||
<img src="${latestPhoto.imageUrl}" class="w-full h-full object-cover" />
|
||||
<div class="w-12 h-12 rounded-full border-4 border-emerald-500 shadow-lg overflow-hidden transition-transform group-hover:scale-110 relative">
|
||||
<img src="${latestPhoto.imageUrl}" class="w-full h-full object-cover select-none" draggable="false" />
|
||||
<div class="absolute inset-0 bg-transparent select-none z-10"></div>
|
||||
</div>
|
||||
<div class="absolute -bottom-1 -right-1 bg-emerald-600 rounded-full w-5 h-5 border-2 border-white flex items-center justify-center text-[10px] font-black text-white">
|
||||
📸
|
||||
@@ -604,6 +605,7 @@ export const ExploreMap = ({ onBack, onLogout, user, onViewTour, onOpenMyPhotos,
|
||||
|
||||
const newTourNote = {
|
||||
id: Date.now().toString(),
|
||||
tourId: tour.id,
|
||||
title: `Ghi chú của hành trình: ${tour.title}`,
|
||||
content: `<p>Bắt đầu lập kế hoạch cho chuyến đi <strong>${tour.title}</strong> của bạn tại đây...</p>`,
|
||||
createdAt: new Date().toISOString()
|
||||
|
||||
Reference in New Issue
Block a user