From 9cad9fec094639bdb351c97f0f571f3cbe233061 Mon Sep 17 00:00:00 2001 From: Ravi <7014230+arelra@users.noreply.github.com> Date: Fri, 17 May 2024 14:01:28 +0100 Subject: [PATCH] Increase spacefinder mobile minAbove distance to 250px (#1386) * Increase spacefinder mobile minAbove distance to 250px * Changeset --- .changeset/green-clouds-hammer.md | 5 +++++ src/insert/spacefinder/article.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/green-clouds-hammer.md diff --git a/.changeset/green-clouds-hammer.md b/.changeset/green-clouds-hammer.md new file mode 100644 index 000000000..b95c526c4 --- /dev/null +++ b/.changeset/green-clouds-hammer.md @@ -0,0 +1,5 @@ +--- +'@guardian/commercial': patch +--- + +Increase spacefinder mobile minAbove distance to 250px diff --git a/src/insert/spacefinder/article.ts b/src/insert/spacefinder/article.ts index 2860f6b88..2970f4ed6 100644 --- a/src/insert/spacefinder/article.ts +++ b/src/insert/spacefinder/article.ts @@ -322,7 +322,7 @@ const addDesktopRightRailAds = (fillSlot: FillAdSlot): Promise => { }; const addMobileInlineAds = (fillSlot: FillAdSlot): Promise => { - const minDistanceFromArticleTop = 200; + const minDistanceFromArticleTop = 250; const ignoreList = `:not(p):not(h2):not(hr):not(.${adSlotContainerClass}):not(#sign-in-gate):not([data-spacefinder-type$="NumberedTitleBlockElement"])`;