-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://cp-algorithms.com/ - Lots of blank space after footer of page #47748
Comments
So, this site has a very interesting way to ensure the content is never "too wide" for the device, without adding line breaks or anything: window.onresize = function(){
var w0 = 980;
var w1 = $(window).width();
if (w1 < w0) {
var zoom = Math.floor(w1 * 100 / w0);
document.body.style.zoom = "" + zoom + "%";
document.body.style.MozTransform = 'scale(0.' + zoom + ')';
document.body.style.MozTransformOrigin = '0 0';
} else {
document.body.style.zoom = "";
document.body.style.MozTransform = '';
}
}; So, whenever the display is narrower than it should be, they just... scale everything down. For that, they do set both Without supporting |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem. |
Looks like the design has changed, the issue no longer reproduces |
URL: https://cp-algorithms.com/
Browser/Version: Firefox 71
Operating System: Android
What seems to be the trouble?(Required)
Steps to Reproduce
Expected Behavior:
No blank spaces after footer.
Actual Behavior:
Lots of blank space after footer of page.
Additional
On Fenix, design of https://cp-algorithms.com is broken. There is lots of blank space, after footer of the website; I tried to reproduce this behavior on Chromium based browser and Firefox Android, but couldn't reproduce it. Seems like issue is with CSS rule.
Screenshots
The text was updated successfully, but these errors were encountered: