fix: remove division logic from ads.scss (fixes #2370)
This commit is contained in:
parent
40395a1ff5
commit
6a92e60a67
@ -2,8 +2,6 @@
|
|||||||
// Advertisements
|
// Advertisements
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
||||||
@use 'sass:math';
|
|
||||||
|
|
||||||
.plyr__ads {
|
.plyr__ads {
|
||||||
border-radius: inherit;
|
border-radius: inherit;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -49,10 +47,10 @@
|
|||||||
display: block;
|
display: block;
|
||||||
height: $plyr-range-track-height;
|
height: $plyr-range-track-height;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin: -calc($plyr-range-track-height / 2) 0 0;
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
width: 3px;
|
width: 3px;
|
||||||
z-index: 3; // Between progress and thumb
|
z-index: 3; // Between progress and thumb
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user