Browse Source

Fix canvas style position

pull/652/head
Artur Arseniev 9 years ago
parent
commit
670e042a5f
  1. 2
      dist/css/grapes.min.css
  2. 9
      src/styles/scss/_gjs_canvas.scss

2
dist/css/grapes.min.css

File diff suppressed because one or more lines are too long

9
src/styles/scss/_gjs_canvas.scss

@ -1,16 +1,17 @@
$frameAnimation: 0.35s ease; $frameAnimation: 0.35s ease;
$canvasTop: 40px;
.#{$cv-prefix}canvas { .#{$cv-prefix}canvas {
background-color: rgba(0, 0, 0, 0.15); background-color: rgba(0, 0, 0, 0.15);
box-sizing: border-box; box-sizing: border-box;
position: absolute;
width: (100% - $leftWidth); width: (100% - $leftWidth);
height: 100%; height: calc(100% - $canvasTop);
bottom: 0; bottom: 0;
left: 0;
overflow: hidden; overflow: hidden;
padding-top: 40px;
z-index: 1; z-index: 1;
position: absolute;
left: 0;
top: 40px;
.#{$app-prefix}ghost { .#{$app-prefix}ghost {
display: none; display: none;

Loading…
Cancel
Save