Skip to content

Commit

Permalink
fix: remove division logic from ads.scss (fixes #2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampotts committed Dec 16, 2021
1 parent 40395a1 commit 6a92e60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sass/plugins/ads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Advertisements
// ==========================================================================

@use 'sass:math';

.plyr__ads {
border-radius: inherit;
bottom: 0;
Expand Down Expand Up @@ -49,10 +47,10 @@
display: block;
height: $plyr-range-track-height;
left: 0;
margin: -calc($plyr-range-track-height / 2) 0 0;
opacity: 0.8;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 3px;
z-index: 3; // Between progress and thumb
}

0 comments on commit 6a92e60

Please sign in to comment.