From e70a2f75d3dca8672b49ff0a2cd4fc92d5935d15 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Tue, 4 Feb 2020 11:36:50 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02748=20-=20Fix=20regression=20introduced?= =?UTF-8?q?=20by=2071f5d29c,=20CKEditor's=20paragraph=20spacing=20wasn't?= =?UTF-8?q?=20coherent=20with=20how=20it's=20displayed=20in=20iTop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/ckeditor/contents.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/js/ckeditor/contents.css b/js/ckeditor/contents.css index 7bd09d555..1d5ba08fe 100644 --- a/js/ckeditor/contents.css +++ b/js/ckeditor/contents.css @@ -1,6 +1,6 @@ /* -Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license */ body @@ -16,13 +16,13 @@ body /* Remove the background color to make it transparent. */ background-color: #fff; - margin: 20px; + margin: 5px 10px; /* Changed. Original value was 20px */ } .cke_editable { 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) */ word-wrap: break-word; @@ -114,7 +114,8 @@ span[lang] figure { text-align: center; - outline: solid 1px #ccc; + border: solid 1px #ccc; + border-radius: 2px; background: rgba(0,0,0,0.05); padding: 10px; margin: 10px 20px; @@ -134,6 +135,11 @@ a > img { outline: 1px solid #0782C1; } +p { + margin-top: 0.25em; + margin-bottom: 0.25em; +} + /* Widget Styles */ .code-featured {