forked from coracle/flotilla
fix(video): restyle spotlight pin button on video tiles
This commit is contained in:
@@ -216,8 +216,10 @@
|
|||||||
data-tip={pinned ? "Exit spotlight" : "Spotlight"}
|
data-tip={pinned ? "Exit spotlight" : "Spotlight"}
|
||||||
aria-pressed={pinned}
|
aria-pressed={pinned}
|
||||||
class={cx(
|
class={cx(
|
||||||
"absolute right-1 top-1 z-20 btn btn-xs btn-square btn-ghost",
|
"absolute right-1 top-1 z-20 btn btn-xs btn-square border-0 shadow-sm backdrop-blur-sm",
|
||||||
pinned ? "btn-active bg-primary/25 text-primary" : "bg-base-100/70",
|
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))}>
|
onclick={spotlightHandlerFor(tileKey(tile))}>
|
||||||
<Icon icon={Pin} size={3} />
|
<Icon icon={Pin} size={3} />
|
||||||
|
|||||||
Reference in New Issue
Block a user