devfolioco / react-otp-input

:heavy_check_mark: OTP Input Component for React
http://devfolioco.github.io/react-otp-input
MIT License
643 stars 423 forks source link

OTP inputs keeps going out of view whenever i add a padding #412

Closed sylvahh closed 9 months ago

sylvahh commented 10 months ago

at default defualt

at padding 1px input@p-1

at desired size input@desieredsize

code snippet code snippet

prateek3255 commented 9 months ago

Can you update to the latest version and use skipDefaultStyles prop? That would remove the default styles that are applied to the input