Left alignment of the library items

This commit is contained in:
Jackson Harper
2024-02-28 13:14:09 +08:00
parent fa69f7b47b
commit 955be7b91e
2 changed files with 10 additions and 3 deletions

View File

@ -85,18 +85,20 @@ export function LibraryHeader(props: LibraryHeaderProps): JSX.Element {
return (
<>
<VStack
alignment="center"
alignment="start"
distribution="start"
css={{
top: '0',
right: '0',
zIndex: 5,
px: '70px',
bg: '$thLibraryBackground',
position: 'fixed',
left: LIBRARY_LEFT_MENU_WIDTH,
height: small ? '60px' : DEFAULT_HEADER_HEIGHT,
transition: 'height 0.5s',
'@mdDown': {
px: '0px',
left: '0px',
right: '0',
},

View File

@ -16,9 +16,14 @@ function LoadedContent(): JSX.Element {
pageTestId="home-page-tag"
>
<VStack
alignment="center"
alignment="start"
distribution="center"
css={{ backgroundColor: '$thLibraryBackground' }}
css={{
px: '70px',
backgroundColor: '$thLibraryBackground',
'@lgDown': { px: '20px' },
'@mdDown': { px: '10px' },
}}
>
<HomeFeedContainer />
</VStack>