Commit 075069b1 by doszhang

dos

parent 2005f084
...@@ -136,7 +136,7 @@ function initPage() { ...@@ -136,7 +136,7 @@ function initPage() {
if (displacement > 0) { if (displacement > 0) {
const scale = document.documentElement.clientHeight / $('.page').height(); const scale = document.documentElement.clientHeight / $('.page').height();
$('.wrap-inner,.page').css({ $('.wrap-inner,.page').css({
'transform': 'scale(1,' + scale + ')' 'transform': 'translate(0%,-50%) scale(1,' + scale + ')'
}); });
} }
// const headerHeight = 313; // const headerHeight = 313;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment