Skip to content

Commit

Permalink
feat(TestRun): add focus for comparison handle
Browse files Browse the repository at this point in the history
  • Loading branch information
harunbleech committed Sep 27, 2024
1 parent 8162cc0 commit 32de299
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/comparisons/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@
[data-vrts-comparisons-slot="target"] {
clip-path: inset(0 0 0 var(--vrts-comparisons-slider-position));
}

&:has(input:focus-visible) {
.vrts-comparisons__slider-handle svg {
outline: 2px solid var(--wp-admin-theme-color);
outline-offset: 2px;
}
}
}

&__slider-handle {
Expand Down

0 comments on commit 32de299

Please sign in to comment.