fix: some style

This commit is contained in:
Kilu
2024-06-28 14:01:26 +08:00
parent 724f1ce362
commit 70e6a5c545
2 changed files with 2 additions and 2 deletions

View File

@ -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'}
>

View File

@ -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'}
>