mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Added condition for the image and increased font weight for the author
This commit is contained in:
parent
fc0e18be12
commit
ffbcc9ed46
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
|
|||
props.handleAction('showDetail')
|
||||
}}
|
||||
>
|
||||
{props.item.image && (
|
||||
{props.item.image && props.layout !== 'LIST_LAYOUT' && (
|
||||
<CoverImage
|
||||
src={props.item.image}
|
||||
alt="Link Preview Image"
|
||||
|
|
@ -88,7 +88,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
|
|||
</Box>
|
||||
</HStack>
|
||||
<HStack alignment="start" distribution="between">
|
||||
<StyledText style="caption" css={{ mt: '-5px', fontWeight: '500' }}>
|
||||
<StyledText style="caption" css={{ mt: '-5px', fontWeight: '600' }}>
|
||||
{props.item.author && (
|
||||
<SpanBox css={{ mr: '8px' }}>
|
||||
{removeHTMLTags(props.item.author)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue