Put tooltip only on the info badge

This commit is contained in:
Henrik Giesel 2021-06-21 17:48:18 +02:00
parent f92bf490ab
commit 909502bb0a

View File

@ -12,8 +12,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export let markdownTooltip: string; export let markdownTooltip: string;
</script> </script>
<WithTooltip tooltip={marked(markdownTooltip)} let:createTooltip> <Label
<Label on:mount={(event) => createTooltip(event.detail.span)} ><slot /><WithTooltip tooltip={marked(markdownTooltip)} let:createTooltip
><slot /><Badge>{@html infoCircle}</Badge> ><Badge on:mount={(event) => createTooltip(event.detail.span)}
</Label> >{@html infoCircle}</Badge
</WithTooltip> ></WithTooltip
></Label
>