Repository navigation
fix(transcript): center running marker - #1811
Merged
Merged
Conversation
added 2 commits
October 22, 2026 10:55
The shimmer styles were inserted after the first half of the running-label selector, so the active label inherited inline-grid and the pulse marker became an auto-placed grid item. Separate the marker and shimmer selectors again so the marker stays in the label's inline flow and does not disturb truncation.
The live dot was generated content inside the running label. A selector collision with the shimmer rule turned that label into a grid and pushed the dot onto a second row; even with the selectors separated, the inline pseudo-element sat below the row centre and could be clipped by the label's ellipsis box. Render the marker as a real flex sibling so the header's existing align-items centres it, and keep the label's text truncation untouched.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
::aftercontent.Why
A selector collision with
.text-shimmermade.tool-activity-label.runninga grid, so the generated marker was auto-placed on a second row. Even after separating the selectors, the inline pseudo-element stayed about 2.25px below the row centre and lived inside the label's ellipsis clip box. The marker now participates in the header's existingalign-items: centerand cannot be clipped by label truncation.Validation
pnpm --filter @pi-desktop/desktop typecheckpnpm lintpnpm --filter @pi-desktop/desktop buildnode --test test/transcript-display-modes-ui.test.mjs test/transcript-display-mode.test.mjs test/turn-process.test.mjs test/session-reference-ui.test.mjs test/active-turn-surface.test.mjs— 41/41 passedpnpm check:pr-baseNot run locally:
verify:ui:*and full Electron E2E. The change is CSS/DOM-only; layout centring was measured in a headless CSS fixture, and CI covers the Electron suites.