Skip to content

Fix enabled switch row spacing - #4219

Open
floze-the-genius wants to merge 1 commit into
code-charity:masterfrom
floze-the-genius:fix/4216-stable-switch-spacing
Open

Fix enabled switch row spacing#4219
floze-the-genius wants to merge 1 commit into
code-charity:masterfrom
floze-the-genius:fix/4216-stable-switch-spacing

Conversation

@floze-the-genius

Copy link
Copy Markdown

Summary

Keep enabled switch rows at the same height as disabled rows. The negative-margin rule now excludes .satus-switch itself while preserving the existing compact behavior for other enabled data-value controls.

Closes #4216.

Testing

  • npm test -- --runInBand tests/unit/switch-spacing.test.js
  • 21 suites, 89 tests passed
  • git diff --check

The repository currently has no ESLint configuration discoverable by ESLint 8, so a scoped ESLint invocation exits before linting; no lint result is claimed.

AI Assistance Disclosure

OpenAI Codex assisted with issue investigation, the CSS change, regression test, and validation. I reviewed the final diff and test results.

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.

Settings with toggles look narrower when they're set to "on"

1 participant