From b0a4debf901e9bbae5b578c6e63e97a043ad5758 Mon Sep 17 00:00:00 2001 From: Sofien Haj Chedhli Date: Tue, 3 Dec 2024 10:43:29 +0100 Subject: [PATCH] feat: Unify figure tag display between view and edit modes in CKEditor - EXO-75623 - Meeds-io/MIPs#145 (#676) --- .../main/webapp/ckeditor/skins/common/extendedRichContent.less | 3 +++ .../src/main/webapp/ckeditorCustom/contents.less | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commons-extension-webapp/src/main/webapp/ckeditor/skins/common/extendedRichContent.less b/commons-extension-webapp/src/main/webapp/ckeditor/skins/common/extendedRichContent.less index 7bb4ce1dcb..ac9eeb6034 100644 --- a/commons-extension-webapp/src/main/webapp/ckeditor/skins/common/extendedRichContent.less +++ b/commons-extension-webapp/src/main/webapp/ckeditor/skins/common/extendedRichContent.less @@ -177,6 +177,9 @@ figure { display: inline-block !important; + border-radius: 2px; + padding: 10px; + margin: 10px 20px; } figure figcaption { diff --git a/commons-extension-webapp/src/main/webapp/ckeditorCustom/contents.less b/commons-extension-webapp/src/main/webapp/ckeditorCustom/contents.less index 8e428f9860..923b5b1edd 100644 --- a/commons-extension-webapp/src/main/webapp/ckeditorCustom/contents.less +++ b/commons-extension-webapp/src/main/webapp/ckeditorCustom/contents.less @@ -222,9 +222,7 @@ span[lang] { figure { text-align: center; - border: solid 1px #ccc; border-radius: 2px; - background: rgba(0, 0, 0, 0.05); padding: 10px; margin: 10px 20px; display: inline-block;