Skip to content

Commit c72bc1c

Browse files
committed
fix: 修复mix-blend-difference(差值混合模式)不生效
1 parent 15feba2 commit c72bc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/ContributorRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function ContributorRow({
5252
className="absolute top-0 left-0 h-full bg-[var(--foreground)] transition-all duration-1000 origin-left"
5353
style={{ width: `${(user.points / maxPoints) * 100}%` }}
5454
/>
55-
<div className="absolute inset-0 flex items-center px-2 font-mono text-[10px] text-[var(--background)] mix-blend-difference uppercase tracking-widest">
55+
<div className="absolute inset-0 flex items-center px-2 font-mono text-[10px] text-white mix-blend-difference uppercase tracking-widest z-10 pointer-events-none">
5656
POWER LEVEL
5757
</div>
5858
</div>

0 commit comments

Comments
 (0)