z-index + more font size tweaks

This commit is contained in:
Jackson Harper 2024-06-13 11:35:23 +08:00
parent 51b658f834
commit 99622f592a
2 changed files with 4 additions and 3 deletions

View file

@ -408,8 +408,8 @@ const TitleSmall = (props: HomeItemViewProps): JSX.Element => {
distribution="start"
alignment="center"
css={{
fontSize: '13px',
lineHeight: '26px',
fontSize: '14px',
lineHeight: '21px',
fontWeight: '500',
fontFamily: '$inter',
color: '$homeTextTitle',
@ -680,7 +680,7 @@ const SourceInfo = (props: HomeItemViewProps & SourceInfoProps) => (
</HStack>
</HoverCard.Trigger>
<HoverCard.Portal>
<HoverCard.Content sideOffset={5}>
<HoverCard.Content sideOffset={5} style={{ zIndex: '5' }}>
<SubscriptionSourceHoverContent source={props.homeItem.source} />
<HoverCard.Arrow fill={theme.colors.thBackground2.toString()} />
</HoverCard.Content>

View file

@ -90,6 +90,7 @@ export function NavigationMenu(props: NavigationMenuProps): JSX.Element {
top: props.showMenu ? '0' : '100%',
visibility: props.showMenu ? 'visible' : 'hidden',
},
zIndex: 2,
}}
>
<Box