mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7552 - Fix CKEditor overflowing on next column in the backoffice
This commit is contained in:
13
css/backoffice/vendors/_ckeditor.scss
vendored
13
css/backoffice/vendors/_ckeditor.scss
vendored
@@ -40,6 +40,16 @@ $ibo-vendors-ckeditor--ck-text-huge-font-size: $ibo-font-size-350;
|
||||
--ck-text-huge-font-size: #{$ibo-vendors-ckeditor--ck-text-huge-font-size};
|
||||
}
|
||||
|
||||
/* Base style */
|
||||
.ck-editor {
|
||||
width: 100% !important; /* Force editor to always take its container full width (not less, not more) */
|
||||
display: inline-grid; /* Force editor to always take its container full width (not less, not more) */
|
||||
|
||||
.ck-editor__main {
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ck-editor__editable_inline:not(.ck-comment__input *) {
|
||||
height: 200px;
|
||||
}
|
||||
@@ -55,9 +65,8 @@ $ibo-vendors-ckeditor--ck-text-huge-font-size: $ibo-font-size-350;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.ck.ck-editor__main{
|
||||
.ck-editor__main{
|
||||
flex-grow: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
.ck-editor__editable_inline:not(.ck-comment__input *){
|
||||
height: 100% !important; /* !important to overload inline style from configuration.height */
|
||||
|
||||
Reference in New Issue
Block a user