diff --git a/res/css/views/messages/_ViewSourceEvent.scss b/res/css/views/messages/_ViewSourceEvent.scss index 5e288eb19ac..55b0b86d927 100644 --- a/res/css/views/messages/_ViewSourceEvent.scss +++ b/res/css/views/messages/_ViewSourceEvent.scss @@ -19,8 +19,10 @@ limitations under the License. opacity: 0.6; font-size: $font-12px; width: 100%; + overflow-x: auto; // Cancel overflow setting of .mx_EventTile_content - pre, code { + pre, + code { flex: 1; }