From da92988fb89c925f2561c589570ec41e2e62b473 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 17 Jul 2022 05:12:43 +0900 Subject: [PATCH] fix(client): fix deck style --- packages/client/src/ui/deck.vue | 2 -- packages/client/src/ui/deck/column.vue | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index 20b955ddb..f8263b1b9 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -162,8 +162,6 @@ const onContextmenu = (ev) => { }], ev); }; -provide('shouldSpacerMin', true); - document.documentElement.style.overflowY = 'hidden'; document.documentElement.style.scrollBehavior = 'auto'; window.addEventListener('wheel', (ev) => { diff --git a/packages/client/src/ui/deck/column.vue b/packages/client/src/ui/deck/column.vue index 4d34ca9b8..3de9b1801 100644 --- a/packages/client/src/ui/deck/column.vue +++ b/packages/client/src/ui/deck/column.vue @@ -46,6 +46,7 @@ import { i18n } from '@/i18n'; provide('shouldHeaderThin', true); provide('shouldOmitHeaderTitle', true); +provide('shouldSpacerMin', true); const props = withDefaults(defineProps<{ column: Column;