From 692679a5ea36bb5ae9a3b871aeac1e825073e628 Mon Sep 17 00:00:00 2001 From: Kim Brose Date: Fri, 10 Dec 2021 15:50:50 +0100 Subject: [PATCH] don't collapse spaces in inline code blocks (#7328) --- res/css/views/rooms/_EventTile.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 9b4d875b6b..ef04fb47d0 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -469,6 +469,10 @@ $left-gutter: 64px; background: transparent; } } + + code { + white-space: pre; // don't collapse spaces in inline code blocks + } } .mx_EventTile_lineNumbers {