UI: Ensure video poster visibility on mobile and fix header blackout
This commit is contained in:
parent
242b098292
commit
2eb8d25a06
@ -294,7 +294,9 @@ export function UserHeader({ user, preferences, onModalStateChange }: UserHeader
|
||||
"absolute inset-0 w-full h-full object-cover scale-110 brightness-[1.1] dark:brightness-[0.85] transition-all duration-[2000ms] ease-in-out",
|
||||
isVideoPlaying
|
||||
? "opacity-70 dark:opacity-50 blur-0"
|
||||
: "opacity-0 blur-sm"
|
||||
: isVideoLoaded
|
||||
? "opacity-40 blur-[2px]"
|
||||
: "opacity-0 blur-sm"
|
||||
)}
|
||||
>
|
||||
<source src="/videos/smoke.mp4" type="video/mp4" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user