Skip to content

Commit 09d85e1

Browse files
committed
Add classnames to invisible story buttons
1 parent e7fd11a commit 09d85e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Container.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ export default function () {
136136
getVideoDuration={getVideoDuration}
137137
/>
138138
{!preventDefault && <div style={styles.overlay}>
139-
<div style={{ width: '50%', zIndex: 999 }} onTouchStart={debouncePause} onTouchEnd={mouseUp('previous')} onMouseDown={debouncePause} onMouseUp={mouseUp('previous')} />
140-
<div style={{ width: '50%', zIndex: 999 }} onTouchStart={debouncePause} onTouchEnd={mouseUp('next')} onMouseDown={debouncePause} onMouseUp={mouseUp('next')} />
139+
<div className="previous-story-button" style={{ width: '50%', zIndex: 999 }} onTouchStart={debouncePause} onTouchEnd={mouseUp('previous')} onMouseDown={debouncePause} onMouseUp={mouseUp('previous')} />
140+
<div className="next-story-button" style={{ width: '50%', zIndex: 999 }} onTouchStart={debouncePause} onTouchEnd={mouseUp('next')} onMouseDown={debouncePause} onMouseUp={mouseUp('next')} />
141141
</div>}
142142
</div>
143143
)

0 commit comments

Comments
 (0)