From dcf2c305e096de11c47b6e38b107081c136e0200 Mon Sep 17 00:00:00 2001 From: Jon Gunderson Date: Wed, 16 Oct 2024 19:08:14 -0500 Subject: [PATCH] updated skipto --- content/shared/js/skipto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/shared/js/skipto.js b/content/shared/js/skipto.js index 54102c54b..ac34e93c9 100644 --- a/content/shared/js/skipto.js +++ b/content/shared/js/skipto.js @@ -2155,7 +2155,7 @@ $skipToId-overlay div.overlay-border { } else { if (!isElementInViewport(element) && !isReduced) { - element.scrollIntoView({ behavior: highlightTarget, block: 'center', inline: 'nearest' }); + element.scrollIntoView({ behavior: highlightTarget, block: 'start', inline: 'nearest' }); } }