mirror of
https://github.com/block/buzz.git
synced 2026-11-01 06:51:17 +00:00
The short-channel topPad bottom-align was doubly broken. First, the pad was set as the spacer's paddingTop, but an absolutely-positioned virtual row resolves top:0 against the padding box inner edge — padding inflated the box without moving the rows, so they pinned to the top with dead space below (the inverse of bottom-align). Fold topPad into each row's translateY instead. Second, the pad ignored the non-row scroll chrome (the channel-header padding above the spacer and composer padding below), so the spacer over-padded by exactly that chrome and a short channel became scrollable. Subtract the measured chrome (scrollHeight minus spacer height, which is pad-invariant). Adds a fail-first e2e asserting a short channel bottom-aligns against the content-box floor and is not scrollable. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition