fix: use list.slash instead of deprecated syntax

This commit is contained in:
Sam Potts
2021-12-16 20:29:29 +11:00
parent 990d636019
commit 91b19baf44

View File

@ -2,6 +2,8 @@
// Advertisements // Advertisements
// ========================================================================== // ==========================================================================
@use 'sass:list';
.plyr__ads { .plyr__ads {
border-radius: inherit; border-radius: inherit;
bottom: 0; bottom: 0;
@ -47,7 +49,7 @@
display: block; display: block;
height: $plyr-range-track-height; height: $plyr-range-track-height;
left: 0; left: 0;
margin: -($plyr-range-track-height / 2) 0 0; margin: -(list.slash($plyr-range-track-height, 2)) 0 0;
opacity: 0.8; opacity: 0.8;
position: absolute; position: absolute;
top: 50%; top: 50%;