You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
Basically I just wanted to shrink down the size of the switch. Originally I was applying a class with transform: scale(0.8); transform-origin: top left but I found that shrunk the border width to sub-pixel width, which I wanted to keep at 1px. So instead I modified the source using patch-package to expose width and height properties. This was very simple because of how clean the original code is.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.Basically I just wanted to shrink down the size of the switch. Originally I was applying a class with
transform: scale(0.8); transform-origin: top left
but I found that shrunk the border width to sub-pixel width, which I wanted to keep at1px
. So instead I modified the source using patch-package to expose width and height properties. This was very simple because of how clean the original code is.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
If you'd be willing to accept a PR I'd be happy to create one.
The text was updated successfully, but these errors were encountered: