From 1ad16fbeaeb056ac354117911c13d654b8732604 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 2 Feb 2023 16:49:50 +0100 Subject: [PATCH] Fix new line for inline code (#10062) --- res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss b/res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss index abfc4edb70..51a213192c 100644 --- a/res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss +++ b/res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss @@ -95,6 +95,11 @@ limitations under the License. border-radius: 4px; padding: $spacing-2; } + + code:empty { + border: unset; + padding: unset; + } } .mx_WysiwygComposer_Editor_content_placeholder::before {