From 2ecc98dc415b2dd46a770c3fb132b5d193bfa15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 26 Oct 2021 21:27:45 +0200 Subject: [PATCH] Fix Sass deprecation warning When running `scss-lint`, we were getting the following message: DEPRECATION WARNING: #{} interpolation near operators will be simplified in a future version of Sass. To preserve the current behavior, use quotes: unquote("#{$global-width / 2} - 50vw") --- app/assets/stylesheets/_consul_settings.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/_consul_settings.scss b/app/assets/stylesheets/_consul_settings.scss index 5722784f9..9f9cf57ad 100644 --- a/app/assets/stylesheets/_consul_settings.scss +++ b/app/assets/stylesheets/_consul_settings.scss @@ -49,7 +49,7 @@ $show-header-for-stacked: true !default; // -------------------- $body-margin: calc(50vw - #{$global-width / 2}) !default; -$full-width-margin: #{$global-width / 2} - 50vw !default; +$full-width-margin: unquote("#{$global-width / 2} - 50vw") !default; $base-font-size: rem-calc(17) !default; $base-line: rem-calc(26) !default;