mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-19 15:51:45 +00:00
fix pause overlay preventing clicks
This commit is contained in:
parent
61c4bf500d
commit
7a31c7210d
1 changed files with 3 additions and 5 deletions
|
|
@ -51,13 +51,11 @@ export function PauseOverlay() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`absolute inset-0 z-[60] flex items-center bg-black/60 transition-opacity duration-500 ${
|
className={`absolute inset-0 z-[60] flex items-center bg-black/60 transition-opacity duration-500 pointer-events-none ${
|
||||||
shouldShow
|
shouldShow ? "opacity-100" : "opacity-0"
|
||||||
? "opacity-100 pointer-events-auto"
|
|
||||||
: "opacity-0 pointer-events-none"
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="ml-16 max-w-2xl p-8 pointer-events-auto">
|
<div className="ml-16 max-w-2xl p-8">
|
||||||
{logoUrl ? (
|
{logoUrl ? (
|
||||||
<img
|
<img
|
||||||
src={logoUrl}
|
src={logoUrl}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue