From ae143e39a35492a7f05f9626ae8c64d8ee90e6a2 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 16 Sep 2022 01:55:51 +0800 Subject: [PATCH] feat(nc-gui): kanban collapsed stack --- .../nc-gui/components/smartsheet/Kanban.vue | 320 ++++++++++-------- 1 file changed, 174 insertions(+), 146 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index 22e34065be..677cdf91ef 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -219,158 +219,180 @@ openNewRecordFormHook?.on(async (stackTitle) => { @change="onMoveStack($event)" > @@ -413,4 +435,10 @@ openNewRecordFormHook?.on(async (stackTitle) => { .ant-layout-header { @apply !h-[30px] !leading-[30px] !px-[5px] !my-[10px]; } + +.nc-kanban-collapsed-stack { + transform: rotate(-90deg) translateX(-100%); + transform-origin: left top 0px; + transition: left 0.2s ease-in-out 0s; +}