Add .md to immediate parent of Markdown content
This commit is contained in:
parent
6ce05643da
commit
146b55c9dd
|
|
@ -95,7 +95,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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue