use-fit-text
use-fit-text copied to clipboard
Overflow with padding
Hey, first of all i want to say thanks for that magical and dynamic tool you have built.
i am having a problem with padding, seems like useFitText ignores it with box-sizing: border-box,
I have attached codesandbox example: https://codesandbox.io/s/use-fit-text-basic-example-forked-l7u42?file=/pages/index.js
Thanks!
hi @Blazsoul, thank you for the Codesandbox repro-- it is very helpful. I see how the bottom padding of 12px is not maintained in your example. Let me investigate and see if I can figure out what is going on.
@saltycrane I'm having the same issue with horizontal padding -- is there any update on this issue?