memos/web
Cursor Agent 5b8a400c78 feat: polish table editor insert zones, sticky header, and layout
Insert column/row zones:
- Expanded hover area to 32px wide (columns) and 20px tall (rows) so
  the insert trigger is much easier to reach
- Column + button is centered right above the vertical border between
  two columns, inside the header cells with absolute positioning
- Row + button is centered on the horizontal border between two rows,
  rendered via a zero-height spacer <tr> with an absolutely positioned
  hover zone
- z-index set to z-30 (above the z-20 sticky header) so column insert
  buttons render on top of everything
- On hover, a 3px blue highlight line appears at the exact border where
  the new column/row will be inserted, giving clear visual feedback
- The entire zone is clickable (not just the button) for easier use

Sticky header improvements:
- Added a solid bg-background mask row at the top of the sticky thead
  that hides table cells scrolling underneath the header area
- All header cells including the row-number spacer and add-column button
  now have explicit bg-background so nothing bleeds through
- Header cell background (bg-accent/50) now wraps the full cell content
  including sort and delete buttons (moved bg from input to the
  containing div), giving the header a cohesive look

Row insert zones use dedicated spacer <tr> elements between data rows
(instead of absolutely positioned elements inside cells), which is more
reliable across different table widths and avoids clipping issues.

Co-authored-by: milvasic <milvasic@users.noreply.github.com>
2026-02-06 23:44:00 +00:00
..
docs refactor(react-query): optimize config, add error boundary, and remove JSDoc 2025-12-25 08:47:36 +08:00
public chore: enhance site.webmanifest in firefox (#4828) 2025-07-08 19:56:46 +08:00
src feat: polish table editor insert zones, sticky header, and layout 2026-02-06 23:44:00 +00:00
.gitignore chore: update gitignore 2025-04-17 23:11:36 +08:00
biome.json refactor: remove MemoContentContext and integrate MemoViewContext 2025-12-28 12:46:12 +08:00
components.json feat: themes (#4824) 2025-07-07 20:13:22 +08:00
index.html chore: prevent sensitive data caching 2025-12-20 12:33:16 +08:00
package.json fix: KaTeX math rendering with underscores (#5438) 2026-01-06 20:16:01 +08:00
pnpm-lock.yaml fix: KaTeX math rendering with underscores (#5438) 2026-01-06 20:16:01 +08:00
tsconfig.json chore: clean up unused imports and parameters across components 2025-12-27 10:18:38 +08:00
vite.config.mts feat: add live memo refresh via Server-Sent Events (SSE) 2026-02-06 21:18:21 +00:00