Commit 146b55c9 authored by Douwe Maan's avatar Douwe Maan

Add .md to immediate parent of Markdown content

parent 6ce05643
...@@ -95,7 +95,6 @@ export default { ...@@ -95,7 +95,6 @@ export default {
<div ref="note-body" :class="{ 'js-task-list-container': canEdit }" class="note-body"> <div ref="note-body" :class="{ 'js-task-list-container': canEdit }" class="note-body">
<suggestions <suggestions
v-if="hasSuggestion && !isEditing" v-if="hasSuggestion && !isEditing"
class="note-text md"
:suggestions="note.suggestions" :suggestions="note.suggestions"
:note-html="note.note_html" :note-html="note.note_html"
:line-type="lineType" :line-type="lineType"
......
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
</script> </script>
<template> <template>
<div ref="markdown-preview" class="md md-previewer"> <div ref="markdown-preview" class="md-previewer">
<gl-skeleton-loading v-if="isLoading" /> <gl-skeleton-loading v-if="isLoading" />
<div v-else v-html="previewContent"></div> <div v-else class="md" v-html="previewContent"></div>
</div> </div>
</template> </template>
...@@ -215,7 +215,7 @@ export default { ...@@ -215,7 +215,7 @@ export default {
<div <div
v-show="previewMarkdown" v-show="previewMarkdown"
ref="markdown-preview" ref="markdown-preview"
class="md-preview js-vue-md-preview md md-preview-holder" class="md-preview js-vue-md-preview md-preview-holder"
> >
<suggestions <suggestions
v-if="hasSuggestion" v-if="hasSuggestion"
......
...@@ -130,6 +130,6 @@ export default { ...@@ -130,6 +130,6 @@ export default {
<template> <template>
<div> <div>
<div class="flash-container js-suggestions-flash"></div> <div class="flash-container js-suggestions-flash"></div>
<div v-show="isRendered" ref="container" v-html="noteHtml"></div> <div v-show="isRendered" ref="container" class="md" v-html="noteHtml"></div>
</div> </div>
</template> </template>
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
</div> </div>
</div> </div>
<div class="note-body"> <div class="note-body">
<div class="note-text"> <div class="note-text md">
<p>{{ note.body }}</p> <p>{{ note.body }}</p>
</div> </div>
</div> </div>
......
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
'system-note-commit-list': hasMoreCommits, 'system-note-commit-list': hasMoreCommits,
'hide-shade': expanded, 'hide-shade': expanded,
}" }"
class="note-text" class="note-text md"
v-html="note.note_html" v-html="note.note_html"
></div> ></div>
<div v-if="hasMoreCommits" class="flex-list"> <div v-if="hasMoreCommits" class="flex-list">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment