Commit 57608144 by doszhang

dos

parent e7cb9540
...@@ -325,7 +325,8 @@ $(document).ready(function () { ...@@ -325,7 +325,8 @@ $(document).ready(function () {
function initPage() { function initPage() {
let displacement = parseInt(getTranslateDistance()); let displacement = parseInt(getTranslateDistance());
if (displacement > 0) { if (displacement > 0) {
console.log(displacement); let height = 61.9 + (displacement / fontSize);
$('.wrap-inner').css('height', height + 'rem');
} }
} }
......
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