N°2748 - Fix regression introduced by 71f5d29c, CKEditor's paragraph spacing wasn't coherent with how it's displayed in iTop

This commit is contained in:
Stephen Abello
2020-02-04 11:36:50 +01:00
parent fe8e6ba4b0
commit e70a2f75d3

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
body body
@@ -16,13 +16,13 @@ body
/* Remove the background color to make it transparent. */ /* Remove the background color to make it transparent. */
background-color: #fff; background-color: #fff;
margin: 20px; margin: 5px 10px; /* Changed. Original value was 20px */
} }
.cke_editable .cke_editable
{ {
font-size: 13px; font-size: 13px;
line-height: 1.6; line-height: 1.4; /* Changed. Original value was 1.6 */
/* Fix for missing scrollbars with RTL texts. (#10488) */ /* Fix for missing scrollbars with RTL texts. (#10488) */
word-wrap: break-word; word-wrap: break-word;
@@ -114,7 +114,8 @@ span[lang]
figure figure
{ {
text-align: center; text-align: center;
outline: solid 1px #ccc; border: solid 1px #ccc;
border-radius: 2px;
background: rgba(0,0,0,0.05); background: rgba(0,0,0,0.05);
padding: 10px; padding: 10px;
margin: 10px 20px; margin: 10px 20px;
@@ -134,6 +135,11 @@ a > img {
outline: 1px solid #0782C1; outline: 1px solid #0782C1;
} }
p {
margin-top: 0.25em;
margin-bottom: 0.25em;
}
/* Widget Styles */ /* Widget Styles */
.code-featured .code-featured
{ {