-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure a sticky element is unstuck for smaller screens
Add a checkResize function to check when the screen is resized and “unstick” a sticky element if the window width is smaller than “desktop” - less than or equal to 768px.
- Loading branch information
1 parent
d08bd53
commit 04812ca
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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