From f9303eec3ee5f1b9a3f385b29e154dac6748c20d Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Thu, 14 Feb 2019 16:01:47 +0000 Subject: [PATCH] Add fix for suggested changes syntax highlighting Removed the `note-text` class since it conflicted other classes. --- app/assets/javascripts/notes/components/note_body.vue | 1 + .../vue_shared/components/markdown/suggestions.vue | 2 +- app/assets/stylesheets/framework/mixins.scss | 4 ---- changelogs/unreleased/syntax-highlighting-again.yml | 5 +++++ 4 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 changelogs/unreleased/syntax-highlighting-again.yml diff --git a/app/assets/javascripts/notes/components/note_body.vue b/app/assets/javascripts/notes/components/note_body.vue index ff303d0f55a..fb1d98355b3 100644 --- a/app/assets/javascripts/notes/components/note_body.vue +++ b/app/assets/javascripts/notes/components/note_body.vue @@ -95,6 +95,7 @@ export default {
-
+
diff --git a/app/assets/stylesheets/framework/mixins.scss b/app/assets/stylesheets/framework/mixins.scss index 9837b1a6bd0..b9d0c0d4d96 100644 --- a/app/assets/stylesheets/framework/mixins.scss +++ b/app/assets/stylesheets/framework/mixins.scss @@ -36,10 +36,6 @@ width: fit-content; } - tbody { - background-color: $white-light; - } - tr { th { border-bottom: solid 2px $gl-gray-100; diff --git a/changelogs/unreleased/syntax-highlighting-again.yml b/changelogs/unreleased/syntax-highlighting-again.yml new file mode 100644 index 00000000000..14223fc0927 --- /dev/null +++ b/changelogs/unreleased/syntax-highlighting-again.yml @@ -0,0 +1,5 @@ +--- +title: Fix suggested changes syntax highlighting +merge_request: 25116 +author: +type: fixed