From f9ba35d92882103702b9c33c5f0d1bbf98fc029f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 2 Jul 2022 21:28:55 +0900 Subject: [PATCH] enhance(client): better sticky-container component --- .../src/components/global/page-header.vue | 3 -- .../components/global/sticky-container.vue | 52 +++++++++---------- packages/client/src/pages/admin/_header_.vue | 3 -- 3 files changed, 24 insertions(+), 34 deletions(-) diff --git a/packages/client/src/components/global/page-header.vue b/packages/client/src/components/global/page-header.vue index 5395a87961..0ab15e0ca3 100644 --- a/packages/client/src/components/global/page-header.vue +++ b/packages/client/src/components/global/page-header.vue @@ -174,9 +174,6 @@ onUnmounted(() => { .fdidabkb { --height: 60px; display: flex; - position: sticky; - top: var(--stickyTop, 0); - z-index: 1000; width: 100%; -webkit-backdrop-filter: var(--blur, blur(15px)); backdrop-filter: var(--blur, blur(15px)); diff --git a/packages/client/src/components/global/sticky-container.vue b/packages/client/src/components/global/sticky-container.vue index 98a7ee9c30..2603fac55d 100644 --- a/packages/client/src/components/global/sticky-container.vue +++ b/packages/client/src/components/global/sticky-container.vue @@ -1,6 +1,8 @@