editor: remove grid fade, the masking element messes with layout in scrolled containers

This commit is contained in:
jean-emmanuel 2016-12-12 11:51:25 +01:00
parent 720c49331b
commit 5a2cc55108

View file

@ -294,18 +294,6 @@
.editor-enabled {
.tab:not(.has-tabs), .panel {
&:after {
content:"";
position: absolute;;
top:0;
left: 0;
bottom:0;
right:0;
background: var(--color-bg);
z-index: -1;
opacity: 1;
animation: fade .25s normal forwards;
}
background-image: linear-gradient(to bottom, var(--color-grid) 1rem, transparent 1rem),
linear-gradient(to right, var(--color-grid) 1rem, transparent 1rem);
--size: calc(var(--grid-width) * calc(var(--grid-width) - 1) / calc(var(--grid-width) - 1) * 1rem);
@ -315,7 +303,3 @@
}
}
@keyframes fade {
from {opacity: 1;}
to {opacity: 0;}
}