Some of you may have noticed, even though a hard refresh always gives our canvas the correct dimensions, a normal refresh sometimes shoves our canvas towards the top right-hand corner of the screen, shrinking it in the process.
Although not a deal breaker, it is quite an annoying effect to develop with, so before we go any further we'll go ahead and fix it.
This issue is caused by loading
tailwind.css directly within our Vite's
We can fix this by simply commenting out the
<link> tag importing Tailwind within
index.html, and importing