We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80b729 commit 3fe9473Copy full SHA for 3fe9473
1 file changed
app/components/PackageDownloadAnalytics.vue
@@ -422,6 +422,8 @@ const config = computed(() => ({
422
},
423
tooltip: {
424
borderColor: '#2A2A2A',
425
+ backdropFilter: false,
426
+ backgroundColor: 'transparent',
427
customFormat: ({
428
absoluteIndex,
429
datapoint,
@@ -431,7 +433,7 @@ const config = computed(() => ({
431
433
}) => {
432
434
if (!datapoint) return ''
435
const displayValue = formatter({ value: datapoint[0]?.value ?? 0 })
- return `<div class="flex flex-col font-mono text-xs p-3">
436
+ return `<div class="flex flex-col font-mono text-xs p-3 bg-[#0A0A0A]/10 backdrop-blur-md">
437
<span class="text-fg-subtle">${chartData.value?.dates[absoluteIndex]}</span>
438
<span class="text-xl">${displayValue}</span>
439
</div>
0 commit comments