PageSourceSearch

https://abecgroup.com/wp-content/themes/abec/app/assets/js/hero-height.js?ver=1.0.0

js abecgroup.com collected 2026-10-10 00:25:17 UTC 635 bytes, 17 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    function adjustContentPadding() {
3        const header = document.querySelector('header');
4        const content = document.querySelector('.page-content-wrapper');
5        if (header && content) {
6            if (window.innerWidth < 992 ) {
7                content.style.paddingTop = '0';
8            } else {
9                const headerHeight = header.offsetHeight;
10                content.style.paddingTop = headerHeight + 'px';
11            }
12        }
13    }
14
15    adjustContentPadding();
16    window.addEventListener('resize', adjustContentPadding);
17});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.