Fix inline code lines that are too long in .message_content.

The issue is that if you post a very long line of code it will overflow
the .message_content div and force the width of the main message page
to be as long as the line of code.

Fixes: #2156
This commit is contained in:
Brock Whittaker 2016-10-31 10:04:04 -07:00 committed by Tim Abbott
parent 9ad27b3e69
commit 25b28bf82c
1 changed files with 4 additions and 0 deletions

View File

@ -1418,6 +1418,10 @@ div.focused_table {
position: relative;
}
.message_content p {
overflow: auto;
}
.message_edit_content {
line-height: 18px;
}