Commit 08f1ce90 authored by Clement Ho's avatar Clement Ho

Fix diff notes spec

parent c5f91476
...@@ -69,9 +69,10 @@ export default () => { ...@@ -69,9 +69,10 @@ export default () => {
gl.diffNotesCompileComponents(); gl.diffNotesCompileComponents();
if (!hasVueMRDiscussionsCookie()) { const resolveCountAppEl = document.querySelector('#resolve-count-app');
if (!hasVueMRDiscussionsCookie() && resolveCountAppEl) {
new Vue({ new Vue({
el: '#resolve-count-app', el: resolveCountAppEl,
components: { components: {
'resolve-count': ResolveCount 'resolve-count': ResolveCount
}, },
......
...@@ -639,6 +639,10 @@ ul.notes { ...@@ -639,6 +639,10 @@ ul.notes {
margin-left: -55px; margin-left: -55px;
position: absolute; position: absolute;
z-index: 10; z-index: 10;
.new & {
margin-top: -10px;
}
} }
.discussion-body, .discussion-body,
......
...@@ -10,6 +10,8 @@ feature 'Multi-file editor new directory', :js do ...@@ -10,6 +10,8 @@ feature 'Multi-file editor new directory', :js do
visit project_tree_path(project, :master) visit project_tree_path(project, :master)
live_debug
wait_for_requests wait_for_requests
click_link('Web IDE') click_link('Web IDE')
......
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