Commit 5390b04f by doszhang

dos

parent 4e494835
...@@ -325,7 +325,7 @@ $(document).ready(function () { ...@@ -325,7 +325,7 @@ $(document).ready(function () {
function initPage() { function initPage() {
let displacement = parseInt(getTranslateDistance()); let displacement = parseInt(getTranslateDistance());
if (displacement > 0) { if (displacement > 0) {
let height = 61.9 + (displacement / fontSize); let height = 61.9 + (displacement + 10 / fontSize);
$('.wrap-inner,.page,.bg').css('height', height + 'rem'); $('.wrap-inner,.page,.bg').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