Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: DES-2598 text editor too short (⚠️ untested) #1102

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import url("./cms.ckeditor.original.css");

/* To stretch source editor textarea height */
/* https://github.com/django-cms/djangocms-text-ckeditor/pull/590 */
textarea.cke_source { max-height: inherit; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/*! https://raw.githubusercontent.com/django-cms/djangocms-text-ckeditor/3.10.0/djangocms_text_ckeditor/static/djangocms_text_ckeditor/css/cms.ckeditor.css */

@charset "utf-8";
/* everything has to be !important because of the way css is loaded */

/* float left with the label */
.cke_chrome {
float: left !important;
width: 100% !important;
}

/* special case when inside a text plugin */
.djangocms_text_ckeditor-text .form-row label {
display: none !important;
}
.djangocms_text_ckeditor-text .cke_chrome {
float: none !important;
}

/* ensure dialog has relative positioning for absolute positioned content */
.cms-ckeditor-dialog .cke_dialog {
position: fixed !important;
}
.cke_dialog_contents {
user-select: none !important;
}
.cke_dialog_contents_body {
position: relative !important;
}

/* show cmsplugin label */
.cke_button__cmsplugins .cke_button_label {
display: inline !important;
padding-right: 5px !important;
padding-left: 5px !important;
}

/* make dropdow larger */
.cke_combopanel,
.cke_panel {
min-width: 200px !important;
}


/* add / edit plugin modal */
.cke_dialog_body {
border: 1px solid #d1d1d1 !important;
}
.cms-ckeditor-dialog .cke_dialog_contents_body {
padding: 3px 0 !important;
}
.cms-ckeditor-dialog .cke_dialog_page_contents {
width: 100% !important;
height: 100% !important;
}
.cms-ckeditor-dialog .cke_dialog_page_contents table {
display: block !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
}
.cms-ckeditor-dialog .cke_dialog_page_contents table tbody,
.cms-ckeditor-dialog .cke_dialog_page_contents table tr,
.cms-ckeditor-dialog .cke_dialog_page_contents table td {
display: block !important;
height: 100% !important;
}
.cms-ckeditor-dialog .cke_dialog_page_contents table .cke_dialog_ui_vbox_child {
display: block !important;
overflow-y: auto !important;
height: 100% !important;
padding: 0 !important;

-webkit-overflow-scrolling: touch !important;
}
.cms-ckeditor-dialog .cke_dialog_page_contents table .cke_dialog_ui_vbox_child iframe {
display: block !important;
position: static !important;
width: 100% !important;
height: 100% !important;
}

/* scrollable dropdowns on touch */
.cke_panel {
overflow-y: auto !important;
height: auto !important;
max-height: 300px !important;

-webkit-overflow-scrolling: touch !important;
}
.cke_panel .cke_panel_frame {
display: block !important;
position: static !important;
overflow: hidden !important;
width: 100% !important;
height: 100% !important;
min-height: 100% !important;
}

/* cms-resizer */
.cms-ckeditor-resizer {
overflow: auto !important;
font-size: 12px !important;
width: auto !important;
height: auto !important;
border: none !important;
}
Loading