From 74a8128d8555040d111d3be66afb9f17190a6d6f Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 23 Aug 2024 14:36:23 -0700
Subject: fix(SequelCatcher): tooltips

---
 src/lib/Tooltip/LinkedTooltip.svelte | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/lib/Tooltip/LinkedTooltip.svelte')

diff --git a/src/lib/Tooltip/LinkedTooltip.svelte b/src/lib/Tooltip/LinkedTooltip.svelte
index 9ec92cf9..096e4291 100644
--- a/src/lib/Tooltip/LinkedTooltip.svelte
+++ b/src/lib/Tooltip/LinkedTooltip.svelte
@@ -13,6 +13,7 @@
 	export let debounceDelay = 100;
 	export let tooltipOpacityTransitionTime = 200;
 	export let relative = false;
+	export let ignoreAnchorStyling = false;
 
 	let tooltipDiv: HTMLDivElement | null = null;
 	let hideTimeout: number | null = null;
@@ -218,6 +219,7 @@
 			<span
 				in:fade={{ duration: tooltipTransitionTime }}
 				out:fade={{ duration: tooltipTransitionTime }}
+				class:ignore-anchor-styling={ignoreAnchorStyling}
 			>
 				{@html content.replace(/\n/g, '<br>')}
 			</span>
@@ -235,4 +237,8 @@
 	}
 
 	/* fix line break slot */
+
+	.ignore-anchor-styling {
+		color: var(--fg);
+	}
 </style>
-- 
cgit v1.2.3

