Add fix for suggested changes syntax highlighting

Removed the `note-text` class since it conflicted other classes.
This commit is contained in:
Annabel Dunstone Gray 2019-02-14 16:01:47 +00:00 committed by Phil Hughes
parent 750e3c6704
commit f9303eec3e
4 changed files with 7 additions and 5 deletions

View file

@ -95,6 +95,7 @@ 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"

View file

@ -130,6 +130,6 @@ export default {
<template>
<div>
<div class="flash-container js-suggestions-flash"></div>
<div v-show="isRendered" ref="container" class="note-text md" v-html="noteHtml"></div>
<div v-show="isRendered" ref="container" v-html="noteHtml"></div>
</div>
</template>

View file

@ -36,10 +36,6 @@
width: fit-content;
}
tbody {
background-color: $white-light;
}
tr {
th {
border-bottom: solid 2px $gl-gray-100;

View file

@ -0,0 +1,5 @@
---
title: Fix suggested changes syntax highlighting
merge_request: 25116
author:
type: fixed