Skip to content

Fix mismatched left inset value in sticky positioning description#44371

Merged
hamishwillee merged 2 commits into
mdn:mainfrom
dedsocks:patch-3
Jun 7, 2026
Merged

Fix mismatched left inset value in sticky positioning description#44371
hamishwillee merged 2 commits into
mdn:mainfrom
dedsocks:patch-3

Conversation

@dedsocks
Copy link
Copy Markdown
Contributor

@dedsocks dedsocks commented Jun 7, 2026

Description

Corrected the left inset value in the sticky positioning documentation example from 50px to 100px.

Motivation

The descriptive text stated the left boundary was 50px, but the accompanying CSS uses the shorthand inset: 50px 100px; (which sets both left and right to 100px). This change ensures the explanation matches the code behavior.

Additional details

None.

Related issues and pull requests

None.

the text stated the left boundary was 50px, but the accompanying CSS 
uses the shorthand `inset: 50px 100px;` (which sets both left and right 
to 100px)
@dedsocks dedsocks requested a review from a team as a code owner June 7, 2026 16:08
@dedsocks dedsocks requested review from hamishwillee and removed request for a team June 7, 2026 16:08
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed labels Jun 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

Preview URLs (1 page)

(comment last updated: 2026-06-07 23:30:30)

Comment thread files/en-us/web/css/reference/properties/position/index.md Outdated
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Copy link
Copy Markdown
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

Thanks @dedsocks - appreciate you taking time to fix this. Congratulations on landing your first MDN PR.

@hamishwillee hamishwillee merged commit 14a91e1 into mdn:main Jun 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants