Commit ac8c992b by doszhang

dos

parent 10449354
......@@ -163,8 +163,7 @@ function initPage() {
const inputHeight = parseFloat($('.input-wrapper').css('height'));
const transformTop = parseFloat(getTranslateDistance());
let spacing = (headerHeight - transformTop - logoHeight - inputHeight) / 3;
alert(spacing)
let spacing = (headerHeight - transformTop - logoHeight - inputHeight - 27) / 2;
$('.logo').css('top', transformTop + spacing + 'px');
$('.input-wrapper').css('top', transformTop + (spacing * 2 + logoHeight) + '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