Browse Source

scss requires variable interpolation inside calc() to work properly

pull/801/head
Lars Hisken 9 years ago
parent
commit
e4131417db
  1. 2
      src/styles/scss/_gjs_canvas.scss

2
src/styles/scss/_gjs_canvas.scss

@ -5,7 +5,7 @@ $canvasTop: 40px;
background-color: rgba(0, 0, 0, 0.15); background-color: rgba(0, 0, 0, 0.15);
box-sizing: border-box; box-sizing: border-box;
width: (100% - $leftWidth); width: (100% - $leftWidth);
height: calc(100% - $canvasTop); height: calc(100% - #{$canvasTop});
bottom: 0; bottom: 0;
overflow: hidden; overflow: hidden;
z-index: 1; z-index: 1;

Loading…
Cancel
Save