FN-5910: fix skills toggle mobile anchoring

Keep the Skills view toggle anchored correctly after skill enablement on mobile and desktop.

- add relative positioning to the Skills view toggle wrapper so the hidden input stays aligned with its label
- expand the CSS regression test to verify the hidden input anchoring contract and checked-toggle geometry selectors

Files changed:
 packages/dashboard/app/components/SkillsView.css   |  1 +
 .../components/__tests__/SkillsView.css.test.ts    | 30 +++++++++++++++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)

Fusion-Task-Id: FN-5910

Fusion-Task-Lineage: d5988ddb-febe-4319-bfef-d0dbc37909ba
This commit is contained in:
gsxdsm
2026-06-02 19:10:50 -07:00
parent 38b84a36f4
commit 6d2a08d7d7
2 changed files with 28 additions and 3 deletions

View File

@@ -116,6 +116,7 @@
/* Toggle switch */
.skills-view-item-toggle {
position: relative;
display: flex;
align-items: center;
cursor: pointer;