From a0a08b92e672c8448ccae0f3eb4d9053daadef26 Mon Sep 17 00:00:00 2001 From: sofyenne Date: Tue, 26 Nov 2024 18:34:54 +0100 Subject: [PATCH] feat: Fix alignment of figcaption and image in extended rich content - EXO-75213 - Meeds-io/MIPs#145 --- .../webapp/ckeditor/skins/common/extendedRichContent.less | 4 ++++ 1 file changed, 4 insertions(+) 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 38b39f1b14..4e0320f421 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 @@ -77,6 +77,7 @@ img { margin: @imageMargin !important; + vertical-align: middle !important; } blockquote { @@ -173,5 +174,8 @@ p, li, blockquote { font-size: @normalFontSize; } + figcaption { + text-align: center; + } }