Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase spacefinder mobile minAbove distance by 100px #1384

Merged
merged 2 commits into from
May 17, 2024

Conversation

arelra
Copy link
Member

@arelra arelra commented May 17, 2024

Move the first mobile ad down the article slightly

Why?

The current rule specifies the first ad can appear 100px from the top of the article. This means that sometimes the first ad appears after the opening sentence/paragraph, and this has raised concerns within the editorial team.

Increasing the rule to 200px should mean that the at least a couple of sentences are included before the first ad on mobile.

Testing suggests the issue is not as common on desktop (where the rule is 300px).

Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: 85abe14

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@guardian/commercial Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@Jakeii Jakeii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely the right variables to tweak, just need to confirm right numbers!

@arelra arelra force-pushed the ravi/increase-inline1-distance-from-top branch from 475f0d8 to 85abe14 Compare May 17, 2024 12:32
@arelra arelra marked this pull request as ready for review May 17, 2024 12:32
@arelra arelra requested a review from a team as a code owner May 17, 2024 12:32
@arelra arelra changed the title Increase spacefinder minAbove distance by 100px Increase spacefinder mobile minAbove distance by 100px May 17, 2024
Copy link
Member

@ashishpuliyel ashishpuliyel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing like a very immediate response to an editorial concern.

@arelra arelra merged commit 2db5b8f into main May 17, 2024
11 checks passed
@arelra arelra deleted the ravi/increase-inline1-distance-from-top branch May 17, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants