Skip to content

Instantly share code, notes, and snippets.

@dbismut
Created April 9, 2018 09:04
Show Gist options
  • Save dbismut/d25571b0c81f70e6a134e556409e5507 to your computer and use it in GitHub Desktop.
Save dbismut/d25571b0c81f70e6a134e556409e5507 to your computer and use it in GitHub Desktop.
Part 3 - Creating the underlay div
/* ... */
<div
className={cn('page full-width page-post', {
'post-dragged': dragProgress > 0
})}
>
<div className="underlay" />
<div
ref={post => (this.post = post)}
className="post full-width"
style={postStyle}
>
/* ... */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment