From a1fa99188c7a9ae32328671612db3ee405a0be68 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 11 Mar 2024 10:02:50 +0800 Subject: [PATCH] =?UTF-8?q?perf(theme):=20=E4=BC=98=E5=8C=96=E9=A2=84?= =?UTF-8?q?=E8=AE=BE=E8=83=8C=E6=99=AF=E4=BA=A4=E4=BA=92=E6=B5=81=E7=95=85?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/src/client/components/Home/HomeHero.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/src/client/components/Home/HomeHero.vue b/theme/src/client/components/Home/HomeHero.vue index 87a32668..ce5af2fe 100644 --- a/theme/src/client/components/Home/HomeHero.vue +++ b/theme/src/client/components/Home/HomeHero.vue @@ -88,6 +88,7 @@ const actions = computed(() => hero.value.actions ?? []) background-repeat: no-repeat; background-position: center; background-size: cover; + transform: translate3d(0, 0, 0); } .container { @@ -173,6 +174,7 @@ const actions = computed(() => hero.value.actions ?? []) height: 100%; overflow: hidden; pointer-events: none; + transform: translate3d(0, 0, 0); } .home-hero.full.once .bg-filter { @@ -188,11 +190,13 @@ const actions = computed(() => hero.value.actions ?? []) z-index: 1; content: ""; backdrop-filter: blur(150px); + transform: translate3d(0, 0, 0); } .g { position: absolute; opacity: 0.5; + transform: translate3d(0, 0, 0); } .g-1 {