An open-source, faster Devin alternative
TypeScript
fix(web): align the 'Live' dot to the uppercase cap-center
Igor Zalutski1f672bbcd1b2
diff --git a/web/src/pages/SessionDetail.tsx b/web/src/pages/SessionDetail.tsxindex 8a25b8f4..b5a854e6 100644--- a/web/src/pages/SessionDetail.tsx+++ b/web/src/pages/SessionDetail.tsx@@ -245,12 +245,14 @@ export default function SessionDetail() {{/* Event stream */}<Panel className="overflow-hidden"><div className="flex items-center justify-between border-b px-4 py-2.5">- <div className="flex items-baseline gap-2">+ <div className="flex items-center gap-2"><h2 className="text-sm font-semibold">Events</h2>{streamOk ? (- // Sits on the Events text baseline; the dot rides the "Live" line.- <span className="text-status-running text-[10px] font-medium tracking-wide uppercase">- <span className="bg-status-running mr-1 inline-block size-1.5 rounded-full align-middle" />+ // Optically centered on "Events" (leading-none tightens the label box); the+ // dot is nudged up 1px so it sits on the uppercase cap-center, not the line+ // center (which reads low next to all-caps text).+ <span className="text-status-running flex items-center gap-1 text-[10px] leading-none font-medium tracking-wide uppercase">+ <span className="bg-status-running relative -top-px size-1.5 rounded-full" />Live</span>) : null}