Fixing text color in tooltip (see #97)

This commit is contained in:
Ronan Berder
2026-01-03 14:24:08 +08:00
parent 83c09c1197
commit b9274702d3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5252,12 +5252,12 @@
text-overflow: ellipsis;
white-space: nowrap;
border-radius: var(--radius-md);
background-color: var(--color-primary);
background-color: var(--color-foreground);
padding-inline: calc(var(--spacing) * 3);
padding-block: calc(var(--spacing) * 1.5);
font-size: var(--text-xs);
line-height: var(--tw-leading, var(--text-xs--line-height));
color: var(--color-primary-foreground);
color: var(--color-background);
opacity: 0%;
transition-property: all;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
+1 -1
View File
@@ -1250,7 +1250,7 @@
@apply relative;
&:before {
@apply absolute content-[attr(data-tooltip)] bg-foreground text-primary-foreground z-[60] truncate max-w-xs w-fit rounded-md px-3 py-1.5 text-xs invisible opacity-0 scale-95 transition-all pointer-events-none;
@apply absolute content-[attr(data-tooltip)] bg-foreground text-background z-[60] truncate max-w-xs w-fit rounded-md px-3 py-1.5 text-xs invisible opacity-0 scale-95 transition-all pointer-events-none;
}
&:hover:before {
@apply visible opacity-100 scale-100;