diff --git a/src/pages/nearle/dispatch/Dispatch.css b/src/pages/nearle/dispatch/Dispatch.css index 00c8c6f..3bd66fb 100644 --- a/src/pages/nearle/dispatch/Dispatch.css +++ b/src/pages/nearle/dispatch/Dispatch.css @@ -5966,6 +5966,47 @@ letter-spacing: 0.04em; } +/* Rider/customer/delivery-id stack on the left, Step badge pinned to the + right so operators can read the sequence position without opening the + Details section. */ +.dispatch-container .dispatch-popup .pu-header-main { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 10px; +} + +.dispatch-container .dispatch-popup .pu-header-left { + min-width: 0; + flex: 1; +} + +.dispatch-container .dispatch-popup .pu-header-step { + flex-shrink: 0; + display: flex; + flex-direction: column; + align-items: center; + padding: 4px 10px; + border-radius: 10px; + background: #fff; + border: 1px solid rgba(255, 255, 255, 0.3); +} + +.dispatch-container .dispatch-popup .pu-header-step-label { + font-size: 9px; + font-weight: 800; + letter-spacing: 0.08em; + text-transform: uppercase; + color: #7b1fa2; +} + +.dispatch-container .dispatch-popup .pu-header-step-value { + font-size: 15px; + font-weight: 800; + color: #7b1fa2; + white-space: nowrap; +} + /* --- Body sections --- No scroll: the popup expands to fit its content. Width is the dimension we constrain (via leaflet's maxWidth prop) so the body grows downward as diff --git a/src/pages/nearle/dispatch/Dispatch.js b/src/pages/nearle/dispatch/Dispatch.js index 82531c9..677de91 100644 --- a/src/pages/nearle/dispatch/Dispatch.js +++ b/src/pages/nearle/dispatch/Dispatch.js @@ -2644,17 +2644,29 @@ const Dispatch = ({ )} -