Skip to content

The Formula editor button stops impersonating its row - #29

Merged
AllTerrainDeveloper merged 1 commit into
mainfrom
fix/formula-button-stretch
Aug 21, 2026
Merged

AllTerrainDeveloper merged 1 commit into
mainfrom
fix/formula-button-stretch

Conversation

@AllTerrainDeveloper

Copy link
Copy Markdown
Owner

From Daniel's report: hovering the Formula editor button highlighted the whole row.

.atfb-formula__row is a flex column with align-items: stretch so the formula box fills the inspector column — and the <os-button> beneath it inherited the stretch, becoming a full-width slab whose own hover background painted the entire row width. One line fixes it: align-self: flex-start on the button, so it hugs its label (116px vs the row's 291px, measured live) while the box keeps the stretch it was there for.

Audited the stylesheet for the same trap elsewhere: .atfb-prefill is the only other stretch column and holds no buttons; .atfb-valrule already pins flex-start.

🤖 Generated with Claude Code

https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp

`.atfb-formula__row` stretches its children so the formula box fills
the column — and the button under it inherited the stretch, becoming
a full-width slab whose hover wash painted the entire row. It looked
like a highlight bug because, as a control, it was one: a click
target the size of a paragraph. `align-self: flex-start` gives the
button back its own size; the box keeps the stretch it was there for.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp
@AllTerrainDeveloper
AllTerrainDeveloper merged commit f67c825 into main Aug 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant