diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/MTextBody.css b/src/skins/vector/css/matrix-react-sdk/views/messages/MTextBody.css index 93a89ad1..fcf397fd 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/MTextBody.css +++ b/src/skins/vector/css/matrix-react-sdk/views/messages/MTextBody.css @@ -17,3 +17,8 @@ limitations under the License. .mx_MTextBody { white-space: pre-wrap; } + +.mx_MTextBody pre{ + overflow-y: auto; + max-height: 30vh; +}