Skip to content

Stop the cell editor from changing how a value looks - #428

Merged
broisnees merged 1 commit into
nightlyfrom
fix/field-borders-cell-editor
Nov 24, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
fix/field-borders-cell-editor

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Editing a cell made its value look a size bigger. The canvas draws values at 86% of the foreground and the editor drew them at 100%, so the text jumped brighter and heavier when editing started. The editor now uses the canvas colour, and its input drops the default vertical padding and margin so the glyphs stay where the canvas drew them.

Field edges are a step clearer: --field-border is 22% of the foreground (was 16%), and the search boxes use the same token (32% on hover). Focus is still one crisp accent edge, no halo.

Checked in the desktop app on Linux: an edited cell's text matches its neighbours in size, position and colour. Design lint, both vitest suites and npm run build pass.

The canvas draws cell values at 86% of the foreground, and the editor
drew the same value at full foreground, so it read brighter and larger
the moment editing started. The editor now uses the canvas colour, and
the input inside it drops its default vertical padding and margin so
the glyphs stay on the pixels the canvas drew them on.

Field edges are clearer: --field-border goes from 16% to 22% of the
foreground, and search boxes use it too (32% on hover). Focus stays one
crisp accent edge with no halo.
@broisnees broisnees added the release:skip Merge into nightly without a version bump (docs, CI, chores) label Nov 24, 2026
@broisnees
broisnees merged commit cd7d41f into nightly Nov 24, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release:skip Merge into nightly without a version bump (docs, CI, chores)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant