mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Better height consistency for the just added section
This commit is contained in:
parent
6a47cc0da9
commit
ee4178a3b5
1 changed files with 4 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue