Skip to content

Commit a9eac7e

Browse files
authored
docs: add missing px to recipes.md
1 parent 3028931 commit a9eac7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fire an event on your tracking service.
117117
- Set `threshold`, to control how much of the element should visible before
118118
firing the event.
119119
- Instead of `threshold`, you can use `rootMargin` to have a fixed amount be
120-
visible before triggering. Use a negative margin value, like `-100px 0`, to
120+
visible before triggering. Use a negative margin value, like `-100px 0px`, to
121121
have it go inwards. You can also use a percentage value, instead of pixels.
122122

123123
```jsx

0 commit comments

Comments
 (0)