From 91b19baf443f26c71fbf71274dd13489d2d5aa3d Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Thu, 16 Dec 2021 20:29:29 +1100 Subject: [PATCH] fix: use list.slash instead of deprecated syntax --- src/sass/plugins/ads.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index a1fe308b..5b109279 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -2,6 +2,8 @@ // Advertisements // ========================================================================== +@use 'sass:list'; + .plyr__ads { border-radius: inherit; bottom: 0; @@ -47,7 +49,7 @@ display: block; height: $plyr-range-track-height; left: 0; - margin: -($plyr-range-track-height / 2) 0 0; + margin: -(list.slash($plyr-range-track-height, 2)) 0 0; opacity: 0.8; position: absolute; top: 50%;