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
Sometimes, it works on load and fits. Although sometimes, I refresh the page and the text is extremely small. But, if I resize the viewport even by a pixel, it will automatically snap and fill the width of the container. Where am I going wrong?
The text was updated successfully, but these errors were encountered:
My code is extremely simple for my use case.
JS
HTML
Sometimes, it works on load and fits. Although sometimes, I refresh the page and the text is extremely small. But, if I resize the viewport even by a pixel, it will automatically snap and fill the width of the container. Where am I going wrong?
The text was updated successfully, but these errors were encountered: