diff --git a/ui/src/components/EventTimeline.jsx b/ui/src/components/EventTimeline.jsx index b14f16a..928a041 100644 --- a/ui/src/components/EventTimeline.jsx +++ b/ui/src/components/EventTimeline.jsx @@ -55,8 +55,15 @@ export default function EventTimeline() { }; }, [events]); - const renderTimeline = (zone, zoneEvents) => ( -
+ const renderTimeline = (zone, zoneEvents, index) => ( +

@@ -134,10 +140,10 @@ export default function EventTimeline() {

Location-wise sequential breakdown of events

-
- {renderTimeline('CO', groupedEvents.CO)} - {renderTimeline('Mill', groupedEvents.Mill)} - {renderTimeline('Conveyor', groupedEvents.Conveyor)} +
+ {renderTimeline('CO', groupedEvents.CO, 0)} + {renderTimeline('Mill', groupedEvents.Mill, 1)} + {renderTimeline('Conveyor', groupedEvents.Conveyor, 2)}
); diff --git a/ui/src/index.css b/ui/src/index.css index 6a91394..39b9780 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -175,3 +175,23 @@ tbody tr:last-child td { .animate-fade-in { animation: fadeIn 0.4s ease forwards; } + +/* Custom Scrollbars */ +::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +::-webkit-scrollbar-track { + background: rgba(255, 255, 255, 0.02); + border-radius: 4px; +} + +::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.1); + border-radius: 4px; +} + +::-webkit-scrollbar-thumb:hover { + background: rgba(255, 255, 255, 0.2); +}