Fix mismatched left inset value in sticky positioning description#44371
Merged
Conversation
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)
Contributor
|
Preview URLs (1 page) (comment last updated: 2026-06-07 23:30:30) |
hamishwillee
reviewed
Jun 7, 2026
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
hamishwillee
approved these changes
Jun 7, 2026
Collaborator
hamishwillee
left a comment
There was a problem hiding this comment.
Thanks @dedsocks - appreciate you taking time to fix this. Congratulations on landing your first MDN PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.