diff --git a/test/integration/browser.test.ts b/test/integration/browser.test.ts index e053ea3..58d37dc 100644 --- a/test/integration/browser.test.ts +++ b/test/integration/browser.test.ts @@ -78,7 +78,7 @@ describe('BrowserManager — idle timer resets after screenshot', () => { // that is shorter than the total render time but verify the render still completes. // We do this by checking: after render() resolves, the manager is still alive // (not closed mid-render) by doing a second render successfully. - const manager = new BrowserManager({ idleTimeoutMs: 50 }); + const manager = new BrowserManager({ idleTimeoutMs: 200 }); // First render: triggers launch + screenshot. If timer fires mid-render, the browser // closes and the second render would have to re-launch. diff --git a/website/src/styles/global.css b/website/src/styles/global.css index eb327a7..3b4eb2c 100644 --- a/website/src/styles/global.css +++ b/website/src/styles/global.css @@ -57,7 +57,8 @@ } @layer base { - h2, h3 { + h2, + h3 { scroll-margin-top: 5rem; }