fix: use calc instead of list.slash
This commit is contained in:
parent
675a853e2e
commit
9ea3a6923d
@ -2,7 +2,7 @@
|
|||||||
// Advertisements
|
// Advertisements
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
||||||
@use 'sass:list';
|
@use 'sass:math';
|
||||||
|
|
||||||
.plyr__ads {
|
.plyr__ads {
|
||||||
border-radius: inherit;
|
border-radius: inherit;
|
||||||
@ -49,7 +49,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
height: $plyr-range-track-height;
|
height: $plyr-range-track-height;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin: -(list.slash($plyr-range-track-height, 2)) 0 0;
|
margin: -calc($plyr-range-track-height / 2) 0 0;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user