From ef1eefb084ac55c61c6f7577a97d76467bf64a3c Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Wed, 4 Oct 2017 12:08:44 +0200 Subject: [PATCH] Fixed ckeditor style in tabular inlines --- .../templates/admin_interface/css/ckeditor.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/admin_interface/templates/admin_interface/css/ckeditor.css b/admin_interface/templates/admin_interface/css/ckeditor.css index 1f6d04f..407bb14 100644 --- a/admin_interface/templates/admin_interface/css/ckeditor.css +++ b/admin_interface/templates/admin_interface/css/ckeditor.css @@ -97,10 +97,7 @@ https://github.com/Ikimea/ckeditor-light-theme @media (max-width: 767px){ - .django-ckeditor-widget { - width: 100% !important; - } - + .admin-interface .django-ckeditor-widget, .admin-interface .cke { width: 100% !important; } @@ -117,4 +114,13 @@ https://github.com/Ikimea/ckeditor-light-theme .admin-interface .cke_contents { height: auto; } + + .admin-interface .tabular .django-ckeditor-widget, + .admin-interface .tabular .cke { + width: 400px !important; + } + + .admin-interface .tabular .cke_contents { + height: 90px !important; + } } \ No newline at end of file