export function initNowLine() { const wrap = document.querySelector(".timeline-wrap"); const line = document.querySelector(".timeline-now-line"); if (!wrap || !line) { return; } wrap.scrollLeft = Math.max( 0, line.offsetLeft - wrap.clientWidth / 3 ); }