File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ function scrollToCodeSnippet(lineNumber) {
231
231
232
232
.result - footer {
233
233
display: flex;
234
- justify - content : space - between ;
234
+ gap : 16px ;
235
235
}
236
236
237
237
.results - container {
Original file line number Diff line number Diff line change 10
10
</div >
11
11
<div v-if =" isOpen" class =" node-children" >
12
12
<TreeView v-for =" (child, index) in data?.children" :key =" index" :data =" child"
13
- @scrollToCodeSnippet =" scrollToCodeSnippet($event, data ?.matches[0]?.start.line)"
13
+ @scrollToCodeSnippet =" scrollToCodeSnippet($event, child ?.matches[0]?.start.line)"
14
14
@node-hover =" handleNodeHover" />
15
15
</div >
16
16
</div >
@@ -65,7 +65,7 @@ const handleNodeHover = (location) => {
65
65
66
66
const scrollToCodeSnippet = (event , lineNumber ) => {
67
67
event .stopPropagation ();
68
- emit (' scrollToCodeSnippet' , event , lineNumber ?? props . data ? . matches ? .[ 0 ] ? . start ? . line );
68
+ emit (' scrollToCodeSnippet' , event , lineNumber);
69
69
70
70
}
71
71
< / script>
You can’t perform that action at this time.
0 commit comments