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
When I use single mode, the text fits perfectly in a single line. However, when I change the mode to "multi", it no longer seems to resize the text.
Below is an example of my code:
return(
<div style={{fontSize: '15px'}}>
<div style={{margin: '10px', fontFamily: 'Times New Roman', border: 'solid black 2px', width: '200px', height: '80px'}}>
<Textfit mode="multi">
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
</Textfit>
</div>
</div>
)
A screenshot of what I am seeing:
Is this a problem with the module, or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
When I use single mode, the text fits perfectly in a single line. However, when I change the mode to "multi", it no longer seems to resize the text.
Below is an example of my code:
A screenshot of what I am seeing:
Is this a problem with the module, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: