From fb73dac2247d63705ec94e7be41ba8a2f2fb1bc4 Mon Sep 17 00:00:00 2001 From: baldo Date: Thu, 25 Aug 2022 16:11:06 +0200 Subject: [PATCH] Fix: Use scss math.div instead of deprecated /. --- frontend/src/scss/_variables.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/scss/_variables.scss b/frontend/src/scss/_variables.scss index b92e995..cd1957f 100644 --- a/frontend/src/scss/_variables.scss +++ b/frontend/src/scss/_variables.scss @@ -1,3 +1,5 @@ +@use "sass:math"; + // Grays $black: #000000; $gray-darkest: #1c1c1c; @@ -121,7 +123,7 @@ $error-card-link-hover-color: $error-card-link-color; $error-card-link-focus-outline: 0.1em solid $error-card-link-hover-color; // Node map -$node-map-aspect-ratio: 16 / 10; +$node-map-aspect-ratio: math.div(16, 10); $node-map-border-radius: 0.75em; // Node preview