Repository navigation
feat(app-rail): tighten rail icons to 16px on 28px buttons - #47915
Merged
orca-remote-automation[bot] merged 1 commit intoNov 23, 2026
Merged
Conversation
Rail icons drop to 16px with a 1.75 stroke, shared via APP_RAIL_ICON_SIZE and APP_RAIL_ICON_STROKE_WIDTH so More's Ellipsis matches every rail button. Buttons shrink to 28px (size-7) and the active state is the pill alone; the left edge indicator bar is gone. APP_RAIL_SLOT_PX follows to 32 (28 + 4 gap) so overflow capacity matches the new button height. Rail width stays 40px.
orca-remote-automation
Bot
deleted the
orca-remote-automation/app-rail-crisp-16
branch
November 23, 2026 23:47
4 tasks done
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.
ELI5
Smaller, lighter icons on the left app rail so it looks cleaner and gives the active pill breathing room next to the divider.
What Changed
18px(default2.0stroke) to16pxwith a1.75stroke via sharedAPP_RAIL_ICON_SIZE/APP_RAIL_ICON_STROKE_WIDTHconstants, including the overflow MoreEllipsisicon.32×32px(size-8) to28×28px(size-7,rounded-md) inside the existing40pxrail (w-10), widening side margins from4pxto6px.2pxleft-edge indicator bar and the now-unusedrelativeclass.APP_RAIL_SLOT_PXgoes from36to32(28pxbutton +4pxgap) so overflow capacity matches the new button height.Why
The previous
18pxicons at2.0stroke filled 45% of the40pxrail and left only4pxbetween the active pill and the sidebar divider. Checked against how comparable products handle this.Visual Proof
Verified in isolated component fixture renders (no app instance) in light and dark: 28px pill-only active state with 16px icons, and a short window folding destinations into an active More.
Testing
pnpm check:changedpassed all 31 checks (format, lint, typecheck, ratchets). Verified the overflow boundary math (32pxslot) and rendered icon/button geometry in isolated component fixtures across light/dark and overflow states. No unit tests added for static CSS/size constants, per the repo test guidelines.Performance
None, because this only adjusts static icon size, stroke width, Tailwind sizing classes, and the slot-height constant (removing one active-state span element); zero new renders, effects, or allocations.
Risk
Purely visual styling and an overflow slot constant in the opt-in app rail; a plain revert restores the previous sizing.
Level: Low
Agent skill upstream boundary