Closed tedmagaoay closed 2 years ago
Interesting.
Have you messed with the default CSS? Because the main
element should have a min-height
of 100vh
, which would force the page to span the full height of the viewport, regardless if there was not enough content on the page.
Now, this could be a bug with your particular mobile device browser.
Also, you didn't mention any scrolling behavior. But if that's your issue, the "overscroll" that happens on both mobile and desktop browsers is normal. Regardless, I've pushed a change to disable this overscroll behavior. See https://github.com/zwbetz-gh/cupper-hugo-theme/commit/be6536778d36eaa223cf492d18af3d4dd9163104
Thank you for your reply and time.
I'm sorry I don't have any CSS knowledge.
I've tried the latest commit and it still persists.
Ahh, I see now. Okay, I can reproduce this 🙂
The issue is that the min-height
of the main
element is being changed to auto
by a media query on small (mobile) view ports. I've commented it out and done some smoke testing. It seems okay for now. I'll push that change shortly.
Pushed https://github.com/zwbetz-gh/cupper-hugo-theme/commit/4a56374eeb217c78d9fc9e3c600c899e848acf21
Retest and let me know how it goes
It's okay now.
Thank you so much sir.
Have a great day.
Very nice
Describe the bug
White appears below the footer when in dark mode on smartphones with little or no content pages. Especially when the navTitleText is used instead of the default SVG logo. Everything seems to go up leaving that white space behind.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dark mode all the way down, even if the page has just a little content or nothing at all.
Screenshots
Here there is that white space below the footer.
Vs
Here everything is fine.
Smartphone