From e767241c21d83d0ae1dc30d5cd9a571b32c9ae45 Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 10 Apr 2022 22:19:18 +0100 Subject: [PATCH] fixing sass error with calc,turning off justMyCode --- .vscode/launch.json | 3 ++- src/scss/style.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index cbd20d3..f769f5f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -18,7 +18,8 @@ "run", "--no-debugger" ], - "jinja": true + "jinja": true, + "justMyCode": false }, { "command": "npm run devbuild", diff --git a/src/scss/style.scss b/src/scss/style.scss index 6801326..0f14895 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -101,7 +101,7 @@ input[type=text], input[type=password], input[type=number], select { img { height: auto; border: 10px solid #313439; - margin: $pad-px / 2; + margin: calc($pad-px / 2); box-shadow: 4px 4px 7px #070707; } } @@ -158,7 +158,7 @@ h1.title { background-color: $ui-colour; box-shadow: 4px 4px 8px black; padding: 10px; - margin: $pad-px / 2; + margin: calc($pad-px / 2); /*border-radius: 3px;*/ h1 {