Add preview fix

This commit is contained in:
Sauli Anto
2019-10-03 03:47:26 +03:00
parent e6605706c0
commit b7ccab38ff
5 changed files with 144 additions and 84 deletions
+5 -6
View File
@@ -6,12 +6,6 @@
flex-direction: row;
flex-wrap: nowrap;
& .ck.ck-math-preview {
/* Todo: calculate content size */
width: 234px;
height: 10em;
}
@mixin ck-media-phone {
flex-wrap: wrap;
@@ -32,3 +26,8 @@
}
}
}
// Increase toolbar default z-index by one because math preview should be below of it
.ck.ck-toolbar-container {
z-index: calc(var(--ck-z-modal) + 2);
}