From 70e6a5c545209d8173fd5cc2080e6a0af228aca5 Mon Sep 17 00:00:00 2001 From: Kilu Date: Fri, 28 Jun 2024 14:01:26 +0800 Subject: [PATCH] fix: some style --- .../appflowy_web_app/src/components/publish/PublishView.tsx | 2 +- .../src/components/publish/header/PublishViewHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/appflowy_web_app/src/components/publish/PublishView.tsx b/frontend/appflowy_web_app/src/components/publish/PublishView.tsx index ce790e6b58..66ce0ee6d2 100644 --- a/frontend/appflowy_web_app/src/components/publish/PublishView.tsx +++ b/frontend/appflowy_web_app/src/components/publish/PublishView.tsx @@ -80,7 +80,7 @@ export function PublishView({ namespace, publishName }: PublishViewProps) { height: 'calc(100vh - 64px)', transform: open ? `translateX(${drawerWidth}px)` : 'none', width: open ? `calc(100% - ${drawerWidth}px)` : '100%', - transition: 'width 0.2s ease-in-out 0s', + transition: 'width 0.2s ease-in-out, transform 0.2s ease-in-out', }} className={'appflowy-layout appflowy-scroll-container'} > diff --git a/frontend/appflowy_web_app/src/components/publish/header/PublishViewHeader.tsx b/frontend/appflowy_web_app/src/components/publish/header/PublishViewHeader.tsx index 40933eda75..f0850439c4 100644 --- a/frontend/appflowy_web_app/src/components/publish/header/PublishViewHeader.tsx +++ b/frontend/appflowy_web_app/src/components/publish/header/PublishViewHeader.tsx @@ -63,7 +63,7 @@ export function PublishViewHeader({ style={{ transform: openDrawer ? `translateX(${drawerWidth}px)` : 'none', width: openDrawer ? `calc(100% - ${drawerWidth}px)` : '100%', - transition: 'width 0.2s ease-in-out 0s', + transition: 'width 0.2s ease-in-out, transform 0.2s ease-in-out', }} className={'appflowy-top-bar flex h-[48px] px-5'} >