1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

move css rule to be more generic; remove overriden rule

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-06-13 19:08:24 +01:00
parent e858cf3bcb
commit a257dc27c5
2 changed files with 1 additions and 5 deletions

View File

@@ -17,8 +17,3 @@ 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;
}

View File

@@ -391,6 +391,7 @@ limitations under the License.
.mx_EventTile_content .markdown-body pre { .mx_EventTile_content .markdown-body pre {
overflow-x: overlay; overflow-x: overlay;
overflow-y: visible; overflow-y: visible;
max-height: 30vh;
} }
.mx_EventTile_content .markdown-body code { .mx_EventTile_content .markdown-body code {