Skip to content

Conversation

@moaead
Copy link

@moaead moaead commented Jan 21, 2026

Summary

Fixes #9713

Problem

The terminal toggle button (and review toggle button) in the session header use different padding/density than the sidebar toggle in the titlebar, resulting in inconsistent UI appearance.

Solution

Update the terminal and review toggle buttons from size-6 to size-8 rounded-md to match the sidebar toggle styling.

Changes

  • Changed class="group/review-toggle size-6 p-0" to class="group/review-toggle size-8 rounded-md p-0" in session-header.tsx
  • Changed class="group/terminal-toggle size-6 p-0" to class="group/terminal-toggle size-8 rounded-md p-0" in session-header.tsx

Testing

  • Visual inspection: Both toggle buttons now match the sidebar toggle's padding and rounded corners
  • The p-0 padding override is preserved for the custom icon layout within the buttons

…r toggle

Update the terminal and review toggle buttons in the session header to use
size-8 rounded-md instead of size-6 to match the sidebar toggle styling
in the titlebar.

Fixes anomalyco#9713
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found

PR #9728 - "fix(ui): remove portal spacer and fix terminal toggle padding"
#9728

Reason: This PR also addresses terminal toggle padding fixes, which directly overlaps with the current PR (#9744). Both are working on the same component and issue area. This should be reviewed to ensure there's no duplicate work.

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.

Desktop app terminal toggle button has incorrect padding

1 participant