From e4131417db9ffdc7619fe591b8d105ddc4222260 Mon Sep 17 00:00:00 2001 From: Lars Hisken Date: Thu, 25 Jan 2018 15:39:57 +0100 Subject: [PATCH] scss requires variable interpolation inside calc() to work properly --- src/styles/scss/_gjs_canvas.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/scss/_gjs_canvas.scss b/src/styles/scss/_gjs_canvas.scss index 5143d6147..6894749e1 100644 --- a/src/styles/scss/_gjs_canvas.scss +++ b/src/styles/scss/_gjs_canvas.scss @@ -5,7 +5,7 @@ $canvasTop: 40px; background-color: rgba(0, 0, 0, 0.15); box-sizing: border-box; width: (100% - $leftWidth); - height: calc(100% - $canvasTop); + height: calc(100% - #{$canvasTop}); bottom: 0; overflow: hidden; z-index: 1;