From 1938fd2f8c0b6e30fa0ef6f46096c7bb5051dd1c Mon Sep 17 00:00:00 2001 From: Bhumika Date: Wed, 23 Oct 2024 19:34:05 +0530 Subject: [PATCH] Fixed overflow issue --- frontend/src/Pages/schedule.jsx | 84 ++++++++++++++++++--------------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/frontend/src/Pages/schedule.jsx b/frontend/src/Pages/schedule.jsx index 9a153cd..a9983b2 100644 --- a/frontend/src/Pages/schedule.jsx +++ b/frontend/src/Pages/schedule.jsx @@ -28,8 +28,8 @@ const SchedulePage = () => { }} /> -
-
+
+
-
+

Train Schedule

-
- -
- - -
-
- -
- -
- setTrainNumber(e.target.value)} - className="w-full px-4 py-2 pr-10 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" - /> - -
-
+
+ {/* Search Input */} +
+ +
+ + +
+
+ + {/* Train Number Input */} +
+ +
+ setTrainNumber(e.target.value)} + className="w-full px-4 py-2 pr-10 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" + /> + +
+
+ + {/* Train Name Input */} +
+ +
+ setTrainName(e.target.value)} + className="w-full px-4 py-2 pr-10 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" + /> + +
+
+
-
- -
- setTrainName(e.target.value)} - className="w-full px-4 py-2 pr-10 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" - /> - -
-