Commit 92184ca9 authored by Douwe Maan's avatar Douwe Maan

Add .md to immediate parent of Markdown content

parent 8bdf39b7
......@@ -101,7 +101,6 @@ export default {
<div ref="note-body" :class="{ 'js-task-list-container': canEdit }" class="note-body">
<suggestions
v-if="hasSuggestion && !isEditing"
class="note-text md"
:suggestions="note.suggestions"
:note-html="note.note_html"
:line-type="lineType"
......
......@@ -78,8 +78,8 @@ export default {
</script>
<template>
<div ref="markdown-preview" class="md md-previewer">
<div ref="markdown-preview" class="md-previewer">
<gl-skeleton-loading v-if="isLoading" />
<div v-else v-html="previewContent"></div>
<div v-else class="md" v-html="previewContent"></div>
</div>
</template>
......@@ -215,7 +215,7 @@ export default {
<div
v-show="previewMarkdown"
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
v-if="hasSuggestion"
......
......@@ -130,6 +130,6 @@ export default {
<template>
<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>
</template>
......@@ -57,7 +57,7 @@ export default {
</div>
</div>
<div class="note-body">
<div class="note-text">
<div class="note-text md">
<p>{{ note.body }}</p>
</div>
</div>
......
......@@ -93,7 +93,7 @@ export default {
'system-note-commit-list': hasMoreCommits,
'hide-shade': expanded,
}"
class="note-text"
class="note-text md"
v-html="note.note_html"
></div>
<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