Skip to content

fix(ui): center terminal new-session button#100256

Merged
steipete merged 1 commit into
mainfrom
fix/center-terminal-new-button
Jul 5, 2026
Merged

fix(ui): center terminal new-session button#100256
steipete merged 1 commit into
mainfrom
fix/center-terminal-new-button

Conversation

@steipete

@steipete steipete commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • vertically center the terminal new-session button in the tab strip
  • preserve the full-height tabs and active underline geometry
  • add focused regression coverage and a changelog entry

Root cause

The tab strip stretches its children, while the new-session button has a fixed 26px height. The button therefore stayed at the cross-start of the 38px row, placing its center 6px above the active tab's center.

Testing

  • pnpm test ui/src/components/terminal/terminal-panel.test.ts
  • pnpm ui:build
  • pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/components/terminal/terminal-panel.ts ui/src/components/terminal/terminal-panel.test.ts
  • scoped pnpm check:changed
  • .agents/skills/autoreview/scripts/autoreview --mode local (clean)

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Jul 5, 2026
@steipete
steipete merged commit 78685ae into main Jul 5, 2026
39 of 41 checks passed
@steipete
steipete deleted the fix/center-terminal-new-button branch July 5, 2026 09:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant