Mysterious White Space at bottom of Web Page in Mobile-Chrome

后端 未结 5 1338
抹茶落季
抹茶落季 2021-01-12 11:59

I\'ve looked at many \"mysterious white-space at bottom of page\" issues here on SO, and played with the viewporttag many times, but I still cannot figure out w

5条回答
  •  猫巷女王i
    2021-01-12 12:22

    This seems to fix the problem:

    1. Change to .
    2. Override width: 25em; on .sub_container_div in your mobile CSS so that the container scales with the width of the view.

    If you do not want the font to scale, it seems just adding initial-scale=0 will work as well. However, this will make the text very hard to read. You can play around with different scales, but it seems just setting it will fix your issue.

提交回复
热议问题