Skip to content

Commit

Permalink
style(Switch): 💄 Adjust hover padding
Browse files Browse the repository at this point in the history
resolves #1854
  • Loading branch information
mimarz committed Apr 22, 2024
1 parent 617e106 commit 9f536a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
}

.input:not(:disabled, [readonly]):checked:hover + .label .track > .thumb {
transform: translateX(calc((var(--fds-switch-width) - var(--fds-switch-height)) * 0.8));
transform: translateX(calc((var(--fds-switch-width) - var(--fds-switch-height))));
background-image: url("data:image/svg+xml,%3Csvg viewBox='-3 -3 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.1339 2.86612C10.622 3.35427 10.622 4.14573 10.1339 4.63388L5.88388 8.88388C5.39573 9.37204 4.60427 9.37204 4.11612 8.88388L1.86612 6.63388C1.37796 6.14573 1.37796 5.35427 1.86612 4.86612C2.35427 4.37796 3.14573 4.37796 3.63388 4.86612L5 6.23223L8.36612 2.86612C8.85427 2.37796 9.64573 2.37796 10.1339 2.86612Z' fill='%230c6536' /%3E%3C/svg%3E");
}

Expand Down

0 comments on commit 9f536a0

Please sign in to comment.