From b9988333719b5db1cc71351f42b685d95914378b Mon Sep 17 00:00:00 2001 From: 3dtours Date: Wed, 24 Jun 2026 10:40:59 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20thay=20=C4=91=E1=BB=95i=20m=C3=A0u=20the?= =?UTF-8?q?me=20t=E1=BB=95i=20c=E1=BB=A7a=20timeline=20h=C3=A0nh=20tr?= =?UTF-8?q?=C3=ACnh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ItineraryTimeline.tsx | 262 +++++++++--------- frontend/src/index.css | 23 +- 2 files changed, 142 insertions(+), 143 deletions(-) diff --git a/frontend/src/components/ItineraryTimeline.tsx b/frontend/src/components/ItineraryTimeline.tsx index 0511179..7a88637 100644 --- a/frontend/src/components/ItineraryTimeline.tsx +++ b/frontend/src/components/ItineraryTimeline.tsx @@ -335,11 +335,11 @@ export const ItineraryTimeline = ({ @@ -350,17 +350,17 @@ export const ItineraryTimeline = ({ {legIdx === legs.length - 1 && !legs.some((l: any) => l.locations.some((loc: any) => loc.plannedEnd && new Date(loc.plannedEnd).getTime() === 0)) && (
-
+
@@ -558,14 +558,14 @@ export const ItineraryTimeline = ({
@@ -574,132 +574,132 @@ export const ItineraryTimeline = ({ {/* Modal Khai báo số chặng (Popover) */} {isLegCountModalOpen && ( -
-
setIsLegCountModalOpen(false)} /> -
-
-

Số chặng lộ trình

- -
- -

- Bạn muốn chia chuyến đi này thành bao nhiêu chặng nhỏ? (Tối đa 20 chặng) -

- -
- - {tempLegCount} - -
- - -
-
- )} - - {/* Modal Chỉnh sửa Chặng (Popover) */} - {isEditModalOpen && ( -
-
setIsEditModalOpen(false)} /> -
-
-

Chỉnh sửa Chặng

- -
- -
-
- - setEditingLegData({ ...editingLegData, note: e.target.value })} - placeholder="VD: Ngày 1: Khởi hành" - className="w-full px-5 py-4 bg-gray-50 border border-gray-100 rounded-2xl focus:ring-2 focus:ring-blue-500 outline-none transition-all text-sm" - /> -
- -
- -