From 834accfdc5179b3e3eff065a13a57135855bc78b Mon Sep 17 00:00:00 2001 From: professorpalmer Date: Sun, 13 Sep 2026 23:43:44 -0500 Subject: [PATCH] fix(chrome): lighter feed fade, align rail gear with +, easier PC hit Whisper the feed edge fade (soft stop, bottom-only, thinner band). Center compact rail + / Settings on a shared enterSize cell. Soften titlebar PC padding so Inspect is easier to hit without breaking native click tests. --- src/app.tsx | 26 ++++++++++++++++++++++---- src/chrome/edge-fade.tsx | 16 ++++++++++------ src/chrome/layout.ts | 9 +++++---- src/chrome/list-row.tsx | 25 +++++++++++++++++++++---- src/chrome/titlebar.tsx | 2 -- src/chrome/tooltip.tsx | 10 +++++++++- tests/wave6-p2.test.ts | 2 +- 7 files changed, 68 insertions(+), 22 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index 8949fb3..e7d8ff5 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1852,8 +1852,17 @@ function Rail({ ) })}
-
- +
+
-
- +
+ - {startSlot ?
{startSlot}
: null} -
- {children} -
+ {startSlot ? ( +
+ {startSlot} +
+ ) : null} + {children ? ( +
+ {children} +
+ ) : null} {endSlot ?
{endSlot}
: null} {endHoverSlot && hovered ? (
setOpen(true)} onMouseLeave={() => setOpen(false)} > diff --git a/tests/wave6-p2.test.ts b/tests/wave6-p2.test.ts index c15027a..ea4f83d 100644 --- a/tests/wave6-p2.test.ts +++ b/tests/wave6-p2.test.ts @@ -115,7 +115,7 @@ describe('wave 6 p2 edge fade spike', () => { const top = edgeFadeBackground('#101010', 'top') expect(top.type).toBe('linear-gradient') expect(top.angle).toBe(180) - expect(top.stops[0].color).toBe('#101010') + expect(top.stops[0].color).toBe('#10101048') expect(top.stops[1].color).toBe('#10101000') const app = readFileSync(join(root, 'src/app.tsx'), 'utf8') expect(app).toContain('EdgeFadeFrame')