Skip to content

Commit

Permalink
fix: apply the className to the element
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 9, 2021
1 parent 0fecdb9 commit 5ae58e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signature-help-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export class SignatureHelpManager {

const grammar = editor.getGrammar().scopeName.toLowerCase()
const element = document.createElement("div")
element.className = "signature-element"
render(
() => (
<ViewContainer
Expand All @@ -240,7 +241,6 @@ export class SignatureHelpManager {
containerClassName: "signature-markdown-container",
contentClassName: "signature-markdown",
}}
className="signature-element"
/>
),
element
Expand Down

0 comments on commit 5ae58e6

Please sign in to comment.