Skip to content

Commit 12bdd27

Browse files
committed
show article source on compact mode
1 parent 861d9c9 commit 12bdd27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/features/cards/components/aiCard/ArticleItem.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ const ArticleItem = (props: BaseItemPropsType<Article>) => {
3636
<span className="subTitle">{item.title}</span>
3737
</CardLink>
3838
</p>
39+
{listingMode === 'compact' && (
40+
<div className="rowDetails">
41+
<span className="rowItem capitalize">
42+
<GoDotFill className="rowItemIcon" /> {item.source}
43+
</span>
44+
</div>
45+
)}
3946
{listingMode === 'normal' && (
4047
<div className="rowDetails">
4148
<span className="rowItem capitalize">

0 commit comments

Comments
 (0)