Clean up some issues with padding during responsive

This commit is contained in:
Jackson Harper
2024-06-12 19:31:44 +08:00
parent 652e2cc564
commit 51aff83426
2 changed files with 5 additions and 6 deletions

View File

@ -114,7 +114,11 @@ export function NavigationLayout(props: NavigationLayoutProps): JSX.Element {
}, [showLogout])
return (
<HStack css={{ width: '100vw', height: '100vh' }}>
<HStack
css={{ width: '100vw', height: '100vh' }}
distribution="start"
alignment="start"
>
{props.pageMetaDataProps ? (
<PageMetaData {...props.pageMetaDataProps} />
) : null}

View File

@ -87,7 +87,6 @@ export function LibraryHeader(props: LibraryHeaderProps): JSX.Element {
width: '100%',
px: '70px',
left: LIBRARY_LEFT_MENU_WIDTH,
height: small ? '60px' : DEFAULT_HEADER_HEIGHT,
transition: 'height 0.5s',
'@lgDown': { px: '20px' },
'@mdDown': {
@ -99,10 +98,6 @@ export function LibraryHeader(props: LibraryHeaderProps): JSX.Element {
>
<LargeHeaderLayout {...props} />
</VStack>
{/* This spacer is put in to push library content down
below the fixed header height. */}
<HeaderSpacer />
</>
)
}