Commit 1e48cf71 by doszhang

dos

parent 075069b1
...@@ -135,7 +135,10 @@ function initPage() { ...@@ -135,7 +135,10 @@ 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({ $('.page').css({
'transform': 'scale(1,' + scale + ')'
});
$('.wrap-inner').css({
'transform': 'translate(0%,-50%) scale(1,' + scale + ')' 'transform': 'translate(0%,-50%) scale(1,' + scale + ')'
}); });
} }
......
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