Add fix for suggested changes syntax highlighting
Removed the `note-text` class since it conflicted other classes.
This commit is contained in:
parent
750e3c6704
commit
f9303eec3e
4 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
width: fit-content;
|
||||
}
|
||||
|
||||
tbody {
|
||||
background-color: $white-light;
|
||||
}
|
||||
|
||||
tr {
|
||||
th {
|
||||
border-bottom: solid 2px $gl-gray-100;
|
||||
|
|
5
changelogs/unreleased/syntax-highlighting-again.yml
Normal file
5
changelogs/unreleased/syntax-highlighting-again.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix suggested changes syntax highlighting
|
||||
merge_request: 25116
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue