Commit 2005f084 by doszhang

dos

parent 71e2d440
......@@ -135,8 +135,8 @@ function initPage() {
if (displacement > 0) {
const scale = document.documentElement.clientHeight / $('.page').height();
$('.page').css({
'transform': 'translate(-50%,-50%) scale(1,' + scale + ')'
$('.wrap-inner,.page').css({
'transform': 'scale(1,' + scale + ')'
});
}
// 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