Open HemalR opened 5 years ago
It would be very useful for responsive design to have the offset prop be a string which would allow units to be flexible. I.e. - Instead of specifying the px height we could specify e.g. a vh unit, or rems or whatever...
Thoughts/workaround?
Hello,
Indeed sounds like a good idea. Do you want to make a PR for this ?
Noobie dev who doesn't know how to do a PR 😬
Perfect time to learn I guess. I'll give it a whack!
It would be very useful for responsive design to have the offset prop be a string which would allow units to be flexible. I.e. - Instead of specifying the px height we could specify e.g. a vh unit, or rems or whatever...
Thoughts/workaround?