兼容H5 banner 展开按钮被遮挡问题

This commit is contained in:
北枳 2025-10-21 19:50:47 +08:00
parent e1edd2008d
commit e33fa3c26f

View File

@ -165,7 +165,7 @@ export default function HomeBanner() {
data-alt="home-banner" 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 ${ 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 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" : "translate-x-0 translate-y-0 scale-100 opacity-100 rotate-0"
}`} }`}
aria-label="Home banner" aria-label="Home banner"