Commit f9f2bf7f by doszhang

dos

parent 37eb448b
......@@ -140,7 +140,7 @@ function initPage() {
const headerHeight = 313;
const logoHeight = parseFloat($('.logo').css('height'));
const inputHeight = parseFloat($('.input-wrapper').css('height'));
const transformTop = parseFloat(getTranslateDistance() / 2);
const transformTop = parseFloat(getTranslateDistance());
const spacing = (headerHeight - transformTop - logoHeight - inputHeight) / 3;
$('.logo').css('top', spacing + 'px');
......
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