Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 80ddfb7

Browse files
committed
Refine the style
1 parent f5c8e7f commit 80ddfb7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/webview/leetCodePreviewProvider.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,7 @@ class LeetCodePreviewProvider extends LeetCodeWebview {
9898
),
9999
`</details>`,
100100
].join("\n");
101-
const links: string = markdownEngine.render([
102-
`---`,
103-
`- [Discussion](${this.getDiscussionLink(url)})`,
104-
`- [Solution](${this.getSolutionLink(url)})`,
105-
].join("\n"));
101+
const links: string = markdownEngine.render(`[Discussion](${this.getDiscussionLink(url)}) | [Solution](${this.getSolutionLink(url)})`);
106102
return `
107103
<!DOCTYPE html>
108104
<html>
@@ -120,6 +116,7 @@ class LeetCodePreviewProvider extends LeetCodeWebview {
120116
${tags}
121117
${companies}
122118
${body}
119+
<hr />
123120
${links}
124121
${!this.sideMode ? button.element : ""}
125122
<script>

0 commit comments

Comments
 (0)