vanilla-hamburger
vanilla-hamburger copied to clipboard
Total size hard coded to 48px
May be I'm missing something, but could it be the that the total size of the icon is hard coded to 48px?
It is possible to set the icons size, but this will "only" reduce the size of the icon and at the same time increase the surrounding margin.
Is there a reason for that? If not, would you accept a pull request to change that?
Hello, this is actually by design: using 48px helps to reserve enough space to make it easy to tap on mobile.
Please check the original project README: https://github.com/luukdv/hamburger-react#accessibility