kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.
https://sky-office.co/
MIT License
947 stars 294 forks source link

Fix unwanted scrollbar #15

Closed DaxChen closed 2 years ago

DaxChen commented 2 years ago

This is caused by a classic problem for img and canvas tags: they default to display: inline and has a little taller height by default. Adding display: block or display: inline-block to the img or canvas will fix the issue.

https://stackoverflow.com/questions/5804256/image-inside-div-has-extra-space-below-the-image

netlify[bot] commented 2 years ago

✔️ Deploy Preview for skyoffice ready!

🔨 Explore the source changes: 0892028390edb2fcf45409243349c25e9aca08de

🔍 Inspect the deploy log: https://app.netlify.com/sites/skyoffice/deploys/615d9f4ce2fe5600085ffe7f

😎 Browse the preview: https://deploy-preview-15--skyoffice.netlify.app