Cailean Finn
6 months ago
2 changed files with 5 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
window.addEventListener('DOMContentLoaded', () => { |
|||
let scrollElement = document.querySelector('#page-header'); |
|||
scrollElement.scrollLeft = (scrollElement.scrollWidth - scrollElement.clientWidth ) / 2; |
|||
}); |
Loading…
Reference in new issue