Put tooltip only on the info badge
This commit is contained in:
parent
f92bf490ab
commit
909502bb0a
@ -12,8 +12,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
export let markdownTooltip: string;
|
||||
</script>
|
||||
|
||||
<WithTooltip tooltip={marked(markdownTooltip)} let:createTooltip>
|
||||
<Label on:mount={(event) => createTooltip(event.detail.span)}
|
||||
><slot /><Badge>{@html infoCircle}</Badge>
|
||||
</Label>
|
||||
</WithTooltip>
|
||||
<Label
|
||||
><slot /><WithTooltip tooltip={marked(markdownTooltip)} let:createTooltip
|
||||
><Badge on:mount={(event) => createTooltip(event.detail.span)}
|
||||
>{@html infoCircle}</Badge
|
||||
></WithTooltip
|
||||
></Label
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user