From 9ea3a6923dc43c14bcfbd0d1602a2abc7d5d67c5 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Thu, 16 Dec 2021 22:59:44 +1100 Subject: [PATCH] fix: use calc instead of list.slash --- src/sass/plugins/ads.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index 5b109279..8f5af141 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -2,7 +2,7 @@ // Advertisements // ========================================================================== -@use 'sass:list'; +@use 'sass:math'; .plyr__ads { border-radius: inherit; @@ -49,7 +49,7 @@ display: block; height: $plyr-range-track-height; left: 0; - margin: -(list.slash($plyr-range-track-height, 2)) 0 0; + margin: -calc($plyr-range-track-height / 2) 0 0; opacity: 0.8; position: absolute; top: 50%;