forked from 77media/video-flow
兼容H5 banner 展开按钮被遮挡问题
This commit is contained in:
parent
e1edd2008d
commit
e33fa3c26f
@ -165,7 +165,7 @@ export default function HomeBanner() {
|
||||
data-alt="home-banner"
|
||||
className={`absolute inset-0 z-10 isolate overflow-hidden rounded-3xl px-6 py-6 text-white border-2 border-transparent hover:border-custom-blue/50 transition-all duration-400 ease-in-out ${
|
||||
isFlying
|
||||
? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3"
|
||||
? isDesktop ? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" : "translate-x-[80%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3"
|
||||
: "translate-x-0 translate-y-0 scale-100 opacity-100 rotate-0"
|
||||
}`}
|
||||
aria-label="Home banner"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user