Skip to content

Studio: tighten the sidebar pill right inset - #7562

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-sidebar-pill-right-inset
Jul 29, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-sidebar-pill-right-inset

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

The sidebar nav pills sit in containers set to pl-1.5 pr-2, so the gap to the right edge is 8px against 6px on the left. At a glance the pills read as lopsided, sitting closer to the left edge than the right.

This drops the right inset to pr-1.75, which is 7px on the default --spacing of .25rem. That leaves a 1px difference rather than 2px, enough to stop the eye catching on it without moving the pills off the left edge.

Applied to all six pill containers, matching the existing comment that the inset stays uniform so every hover pill keeps the same width.

No behaviour change, purely the padding value.

Testing

npm run typecheck and npm run build pass, and the emitted rule is padding-right: calc(var(--spacing) * 1.75) against --spacing: .25rem, so 7px as intended.

Worth an eyeball in the running app before merge, both expanded and in the collapsed icon rail, since the change is deliberately subtle.

The nav pills sat at pl-1.5 pr-2, so the gap to the right edge was 8px
against 6px on the left and read as visibly lopsided.

Drops the right inset to pr-1.75 (7px), leaving a 1px difference that no
longer catches the eye. Applied to all six pill containers so every pill
keeps the same width.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 513ee4ef14

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shimmyshimmer
shimmyshimmer merged commit 5e36548 into main Jul 29, 2026
39 of 41 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-sidebar-pill-right-inset branch July 29, 2026 05:17
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