Skip to content

An open-source, faster Devin alternative

TypeScript

fix(web): baseline-align the 'Live' indicator with the Events heading

Igor Zalutski52ef47e69199
diff --git a/web/src/pages/SessionDetail.tsx b/web/src/pages/SessionDetail.tsx
index c2c7ad51..8a25b8f4 100644
--- a/web/src/pages/SessionDetail.tsx
+++ b/web/src/pages/SessionDetail.tsx
@@ -245,11 +245,12 @@ 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-center gap-2">
+ <div className="flex items-baseline gap-2">
<h2 className="text-sm font-semibold">Events</h2>
{streamOk ? (
- <span className="text-status-running flex items-center gap-1 text-[10px] font-medium tracking-wide uppercase">
- <span className="bg-status-running size-1.5 rounded-full" />
+ // 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" />
Live
</span>
) : null}