From 28d2d06f321b200998f94ab516b1cd87da7d14cd Mon Sep 17 00:00:00 2001 From: freeplay Date: Sat, 1 Jul 2023 19:21:26 -0400 Subject: [PATCH] fix: webkit blur effects --- .../src/components/global/MkPageHeader.vue | 4 ++-- packages/client/src/pages/user/home.vue | 20 +++++-------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue index 08c27bcf7..f24d3de05 100644 --- a/packages/client/src/components/global/MkPageHeader.vue +++ b/packages/client/src/components/global/MkPageHeader.vue @@ -307,6 +307,8 @@ onUnmounted(() => { padding-inline: 24px; box-sizing: border-box; overflow: hidden; + -webkit-backdrop-filter: var(--blur, blur(15px)); + backdrop-filter: var(--blur, blur(15px)); @media (max-width: 500px) { padding-inline: 16px; &.tabs > .buttons > :deep(.follow-button > span) { @@ -345,8 +347,6 @@ onUnmounted(() => { position: absolute; inset: 0; border-bottom: solid 0.5px var(--divider); - -webkit-backdrop-filter: var(--blur, blur(15px)); - backdrop-filter: var(--blur, blur(15px)); z-index: -1; } &::after { diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index 9e9dfcc7c..a8aa2844f 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -20,11 +20,11 @@ />
-