Notes/theme/mathform.css

32 lines
512 B
CSS
Raw Normal View History

2019-08-31 20:48:37 +03:00
.ck.ck-math-form {
2020-08-29 17:33:41 +03:00
display: flex;
align-items: flex-start;
flex-direction: row;
flex-wrap: nowrap;
2019-08-31 20:48:37 +03:00
2020-08-29 17:33:41 +03:00
@media screen and (max-width: 600px) {
2019-08-31 20:48:37 +03:00
flex-wrap: wrap;
2020-08-29 17:33:41 +03:00
& .ck-math-view {
2019-08-31 20:48:37 +03:00
flex-basis: 100%;
2020-08-29 17:33:41 +03:00
& .ck-labeled-input {
flex-basis: 100%;
}
2019-08-31 20:48:37 +03:00
2020-08-29 17:33:41 +03:00
& .ck-label {
flex-basis: 100%;
}
2019-08-31 20:48:37 +03:00
}
& .ck-button {
flex-basis: 50%;
}
}
2019-10-01 23:11:51 +03:00
}
2019-10-03 03:47:26 +03:00
2020-08-29 17:33:41 +03:00
/* Increase toolbar default z-index by one because math preview should be below of it */
2019-10-03 03:47:26 +03:00
.ck.ck-toolbar-container {
z-index: calc(var(--ck-z-modal) + 2);
}