fix(video): restyle spotlight pin button on video tiles

This commit is contained in:
2026-05-21 21:14:55 +05:30
parent ffd06ab561
commit d3a25f4de6
+4 -2
View File
@@ -216,8 +216,10 @@
data-tip={pinned ? "Exit spotlight" : "Spotlight"}
aria-pressed={pinned}
class={cx(
"absolute right-1 top-1 z-20 btn btn-xs btn-square btn-ghost",
pinned ? "btn-active bg-primary/25 text-primary" : "bg-base-100/70",
"absolute right-1 top-1 z-20 btn btn-xs btn-square border-0 shadow-sm backdrop-blur-sm",
pinned
? "bg-base-100/95 text-base-content hover:bg-base-100"
: "bg-black/45 text-white hover:bg-black/60",
)}
onclick={spotlightHandlerFor(tileKey(tile))}>
<Icon icon={Pin} size={3} />