Commit e07db07e authored by Phil Hughes's avatar Phil Hughes

Merge branch 'id-add-new-line-to-code-nav-popup' into 'master'

Add new line to code navigation popover

See merge request gitlab-org/gitlab!76545
parents 1d211d12 1353d4a6
...@@ -18,5 +18,6 @@ export default { ...@@ -18,5 +18,6 @@ export default {
<span v-for="(token, tokenIndex) in tokens" :key="tokenIndex" :class="token.class">{{ <span v-for="(token, tokenIndex) in tokens" :key="tokenIndex" :class="token.class">{{
token.value token.value
}}</span> }}</span>
<br />
</span> </span>
</template> </template>
...@@ -42,6 +42,8 @@ exports[`Code navigation popover component renders popover 1`] = ` ...@@ -42,6 +42,8 @@ exports[`Code navigation popover component renders popover 1`] = `
<span> <span>
main() { main() {
</span> </span>
<br />
</span> </span>
<span <span
class="line" class="line"
...@@ -50,6 +52,8 @@ exports[`Code navigation popover component renders popover 1`] = ` ...@@ -50,6 +52,8 @@ exports[`Code navigation popover component renders popover 1`] = `
<span> <span>
} }
</span> </span>
<br />
</span> </span>
</pre> </pre>
</div> </div>
......
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