Better height consistency for the just added section

This commit is contained in:
Jackson Harper
2024-06-13 13:39:34 +08:00
parent 6a47cc0da9
commit ee4178a3b5

View File

@ -120,6 +120,7 @@ const JustAddedHomeSection = (props: HomeSectionProps): JSX.Element => {
distribution="start"
css={{
width: '100%',
height: '100%',
gap: '20px',
}}
>
@ -172,8 +173,9 @@ const JustAddedHomeSection = (props: HomeSectionProps): JSX.Element => {
<HStack
css={{
width: '100%',
height: '100%',
lineHeight: '1',
overflow: 'scroll',
overflowX: 'scroll',
gap: '25px',
scrollbarWidth: 'none',
'::-webkit-scrollbar': {
@ -415,6 +417,7 @@ const TitleSmall = (props: HomeItemViewProps): JSX.Element => {
css={{
fontSize: '14px',
lineHeight: '21px',
minHeight: '42px', // always have two lines of space
fontWeight: '500',
fontFamily: '$inter',
color: '$homeTextTitle',