diff options
author | Joel Mbugua <info@arrowthemes.com> | 2016-06-21 21:59:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 21:59:00 +0300 |
commit | cb591dac0c0b68d6d501d68e3ec952dcceb71bf0 (patch) | |
tree | ad8261978e33286addad57ae0a798771795add38 | |
parent | 4c1cdea56e2ed641642f2436673c21debc0022d0 (diff) | |
download | plyr-cb591dac0c0b68d6d501d68e3ec952dcceb71bf0.tar.lz plyr-cb591dac0c0b68d6d501d68e3ec952dcceb71bf0.tar.xz plyr-cb591dac0c0b68d6d501d68e3ec952dcceb71bf0.zip |
Make the player button clickable on small videos
If you set the plyr video to width of 300px, the plyr__controls overlays the play centered play button such that you can't click on the play button. Adding a z-index on the plyr .plyr__play-large fixes that.
-rw-r--r-- | src/scss/plyr.scss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scss/plyr.scss b/src/scss/plyr.scss index 5c75c6fb..a06376d6 100644 --- a/src/scss/plyr.scss +++ b/src/scss/plyr.scss @@ -397,6 +397,7 @@ } .plyr .plyr__play-large { display: inline-block; + z-index: 1; } .plyr--audio .plyr__play-large { display: none; |