Skip to content

Commit

Permalink
Merge pull request sampotts#654 from jjui/patch-1
Browse files Browse the repository at this point in the history
Enable start/stop toggle on whole element
  • Loading branch information
Sam Potts authored Nov 4, 2017
2 parents 344ba58 + 4fdd59f commit 4e1ac32
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/less/plyr.less
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@
align-items: center;
line-height: 1;
text-align: center;
pointer-events: none;

& > * {
pointer-events: all;
}

// Spacing
> button,
Expand Down
7 changes: 6 additions & 1 deletion src/scss/plyr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,12 @@
align-items: center;
line-height: 1;
text-align: center;

pointer-events: none;

& > * {
pointer-events: all;
}

// Spacing
> button,
.plyr__progress,
Expand Down

0 comments on commit 4e1ac32

Please sign in to comment.