BookStack/resources/assets/sass/_tinymce.scss
Dan Brown 9dc26a8c52
Prevented TinyMCE clear-color option having scrollbar
Was covering the option if showing and prevented the option being pressed.
Fixes #999
2018-09-22 23:12:39 +01:00

56 lines
No EOL
1 KiB
SCSS

.mce-tinymce.mce-container.mce-fullscreen {
position: fixed;
top: 0;
height: 100%;
width: 100%;
max-width: 100%;
z-index: 100;
}
.mce-tinymce {
.mce-panel {
background-color: #FFF;
}
.mce-btn {
background-color: #FFF;
}
}
.mce-container-body.mce-flow-layout {
text-align: center;
}
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch;
margin: 0 -1px;
> .mce-container-body {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch;
> .mce-toolbar-grp {
flex: 0 1 auto;
}
> .mce-edit-area {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch;
iframe {
flex: 1;
}
}
}
}
.page-content.mce-content-body p {
line-height: 1.6;
}
// Fix to prevent 'No color' option from not being clickable.
.mce-colorbtn-trans {
overflow: hidden;
}