Skip to content

fix: steady sidebar title spacing on title reveal - #1149

Merged
small-angel merged 1 commit into
mainfrom
clo/title-reveal-spacing
Nov 20, 2026
Merged

small-angel merged 1 commit into
mainfrom
clo/title-reveal-spacing

Conversation

@small-angel

Copy link
Copy Markdown
Contributor

When a generated title animated into a sidebar card, the title and subline drifted apart by ~5px and snapped back when the sweep ended. .title-reveal is a block with overflow: hidden inside the title's inline-block wrapper, which drops the wrapper's baseline to its bottom edge and adds descender room to the line. The wrappers are now align-top; overflow: clip would only have fixed Chromium.

Measured on the dashboard in Playwright Chromium and WebKit: the title line stays 20px during a reveal (25px / 24.7px before). Recorded with a real Haiku chat in WebKit, before on top, after below. Not checked in the macOS app window, WebKitGTK or WebView2. Typecheck, style lint and UI tests pass.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Assisted-by: claude-opus-5.5

Title reveal in a Working card: before the fix on top, after below

The reveal wraps the title in a block with overflow hidden, which moves the
inline-block wrapper's baseline to its bottom edge and grows the title line
by ~5px while a generated title animates in.

Assisted-by: claude-opus-5.5
@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Adds align-top to the three sidebar title wrappers in ChatPanel.tsx to prevent extra title spacing during the reveal.

  • Sidebar session titles keep a steady line while generated titles appear.

Reviews (1) · Last reviewed commit: "fix: steady sidebar title spacing on tit..." · Reviewed by Greptile

@small-angel
small-angel merged commit e384142 into main Nov 20, 2026
14 checks passed
@small-angel
small-angel deleted the clo/title-reveal-spacing branch November 20, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant