#1664 Set a maximum height for codeblocks

This commit is contained in:
Will Hunt 2016-06-18 12:21:34 +01:00 committed by GitHub
parent 607923b58f
commit c7d0214aaa
1 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,8 @@ limitations under the License.
.mx_MTextBody { .mx_MTextBody {
white-space: pre-wrap; white-space: pre-wrap;
} }
.mx_MTextBody pre{
overflow-y: auto;
max-height: 30vh;
}