From 6458d414320b304a018bc0ba9d77f636fc1f4e5d Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 25 Dec 2023 21:22:51 +0100 Subject: [PATCH] minor style update --- papyri-lab/src/papyri-comp.tsx | 2 +- papyri-lab/style/base.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/papyri-lab/src/papyri-comp.tsx b/papyri-lab/src/papyri-comp.tsx index 877add4d..44be66d9 100644 --- a/papyri-lab/src/papyri-comp.tsx +++ b/papyri-lab/src/papyri-comp.tsx @@ -126,7 +126,7 @@ const SignatureRenderer = ({ node }: { node: any }) => { acc.push(p); } return ( - + {node.kind.indexOf('async') !== -1 || node.kind.indexOf('coroutine') !== -1 ? 'async ' diff --git a/papyri-lab/style/base.css b/papyri-lab/style/base.css index 42bf8d8d..2a55a222 100644 --- a/papyri-lab/style/base.css +++ b/papyri-lab/style/base.css @@ -45,4 +45,8 @@ div#papyri-browser a:hover { opacity: 30%; color: gray; } + + & span.param-block { + white-space: pre; + } }