trilium/theme/mathform.css
2020-08-29 17:33:41 +03:00

32 lines
512 B
CSS

.ck.ck-math-form {
display: flex;
align-items: flex-start;
flex-direction: row;
flex-wrap: nowrap;
@media screen and (max-width: 600px) {
flex-wrap: wrap;
& .ck-math-view {
flex-basis: 100%;
& .ck-labeled-input {
flex-basis: 100%;
}
& .ck-label {
flex-basis: 100%;
}
}
& .ck-button {
flex-basis: 50%;
}
}
}
/* 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);
}