Commit c762ed60 authored by Paul Slaughter's avatar Paul Slaughter

Revert "Merge branch '202639' into 'master'"

This reverts merge request !24815
parent 0c652914
...@@ -166,7 +166,6 @@ export default { ...@@ -166,7 +166,6 @@ export default {
:href="lineHref" :href="lineHref"
@click="setHighlightedRow(lineCode)" @click="setHighlightedRow(lineCode)"
> >
{{ lineNumber }}
</a> </a>
<diff-gutter-avatars <diff-gutter-avatars
v-if="shouldShowAvatarsOnGutter" v-if="shouldShowAvatarsOnGutter"
......
...@@ -485,6 +485,10 @@ table.code { ...@@ -485,6 +485,10 @@ table.code {
} }
} }
} }
&:not(.js-unfold-bottom) a::before {
content: attr(data-linenumber);
}
} }
&.line_content { &.line_content {
......
---
title: Replace line diff number css selector with actual HTML inside MRs
merge_request:
author: Oregand
type: other
...@@ -155,10 +155,6 @@ describe('DiffTableCell', () => { ...@@ -155,10 +155,6 @@ describe('DiffTableCell', () => {
}); });
}); });
it('renders the correct line number', () => {
expect(findLineNumber().text()).toEqual(TEST_LINE_NUMBER.toString());
});
it('on click, dispatches setHighlightedRow', () => { it('on click, dispatches setHighlightedRow', () => {
expect(store.dispatch).not.toHaveBeenCalled(); expect(store.dispatch).not.toHaveBeenCalled();
......
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