diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index 44c65c73ff..f4ad933d64 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -623,9 +623,12 @@ class LoggedInView extends React.Component { break; } + const wrapperClasses = classNames({ + 'mx_MatrixChat_wrapper': true, + 'mx_MatrixChat_useCompactLayout': this.state.useCompactLayout, + }); const bodyClasses = classNames({ 'mx_MatrixChat': true, - 'mx_MatrixChat_useCompactLayout': this.state.useCompactLayout, 'mx_MatrixChat--with-avatar': this.state.backgroundImage, }); @@ -640,7 +643,7 @@ class LoggedInView extends React.Component {