Skip to content

Commit

Permalink
fix: remove unused property in Tooltip
Browse files Browse the repository at this point in the history
Signed-off-by: lstocchi <[email protected]>
  • Loading branch information
lstocchi committed May 14, 2024
1 parent c1ff9ab commit fc45ab7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/frontend/src/lib/Tooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,14 @@ export let bottom = false;
export let bottomLeft = false;
export let bottomRight = false;
export let left = false;
export let tipClass = '';
</script>

<div class="relative inline-block">
<span class="group tooltip-slot {$$props.class}">
<slot name="content" />
</span>
<div
class="whitespace-nowrap absolute tooltip opacity-0 inline-block transition-opacity duration-150 ease-in-out pointer-events-none z-[10] {tipClass}"
class="whitespace-nowrap absolute tooltip opacity-0 inline-block transition-opacity duration-150 ease-in-out pointer-events-none z-[10]"
class:left="{left}"
class:right="{right}"
class:bottom="{bottom}"
Expand Down

0 comments on commit fc45ab7

Please sign in to comment.