summaryrefslogtreecommitdiffstats
path: root/web/react/utils/markdown.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/markdown.jsx')
-rw-r--r--web/react/utils/markdown.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx
index 8b3602a89..493916058 100644
--- a/web/react/utils/markdown.jsx
+++ b/web/react/utils/markdown.jsx
@@ -152,7 +152,7 @@ class MattermostMarkdownRenderer extends marked.Renderer {
}
codespan(text) {
- return '<pre class="text-nowrap">' + super.codespan(text) + '</pre>';
+ return '<span class="codespan__pre-wrap">' + super.codespan(text) + '</span>';
}
br() {
@@ -222,7 +222,7 @@ class MattermostMarkdownRenderer extends marked.Renderer {
}
table(header, body) {
- return `<table class="markdown__table"><thead>${header}</thead><tbody>${body}</tbody></table>`;
+ return `<div class="table-responsive"><table class="markdown__table"><thead>${header}</thead><tbody>${body}</tbody></table></div>`;
}
listitem(text) {