Skip to content

Commit

Permalink
minor style update
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 25, 2023
1 parent fe2ff1f commit 6458d41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion papyri-lab/src/papyri-comp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const SignatureRenderer = ({ node }: { node: any }) => {
acc.push(p);
}
return (
<code className="flex my-5 group signature">
<code className="group signature">
{node.kind.indexOf('async') !== -1 ||
node.kind.indexOf('coroutine') !== -1
? 'async '
Expand Down
4 changes: 4 additions & 0 deletions papyri-lab/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ div#papyri-browser a:hover {
opacity: 30%;
color: gray;
}

& span.param-block {
white-space: pre;
}
}

0 comments on commit 6458d41

Please sign in to comment.