Skip to content

fix(sections-editor): stop Add variant button overlapping field controls - #7254

Merged
guitavano merged 1 commit into
mainfrom
fix-variants-button-overlap
Sep 16, 2026
Merged

guitavano merged 1 commit into
mainfrom
fix-variants-button-overlap

Conversation

@guitavano

@guitavano guitavano commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Same change as #7156, pushed to an in-repo branch so CI secrets (GITLEAKS_LICENSE, Docker Hub creds for the e2e MinIO pull) are available — fork PRs don't get repo secrets, which is why the checks failed there.

Original author: @vitoUwu
Supersedes #7156

🤖 Generated with Claude Code


Summary by cubic

Stops the sections editor's "Add variant" button from overlapping field controls. The button was absolutely positioned on top of the field, which worked for stacked layouts but covered BooleanField's inline switch and blocked its clicks; it now sits in its own grid column and renders after the field so tab order goes input → Add variant.

Written for commit c093378. Summary will update on new commits.

Review in cubic

The multivariate "Add variant" flag was absolutely positioned at the
top-right of the field it wraps. That is empty space for the common
stacked field (label above input), but BooleanField lays out inline with
its Switch pinned right, so the flag rendered on top of the toggle —
covering it and stealing its clicks.

Give the button its own gutter column instead of overlaying, and render
it after the field so focus order is input -> Add variant.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the claude PR authored by a coding agent label Sep 16, 2026
@guitavano
guitavano merged commit e5220a2 into main Sep 16, 2026
72 of 88 checks passed
@guitavano
guitavano deleted the fix-variants-button-overlap branch September 16, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude PR authored by a coding agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants