mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Show reference icon and domain side by side
This commit is contained in:
parent
59e55f981f
commit
df3dc33e96
1 changed files with 7 additions and 3 deletions
|
@ -150,10 +150,14 @@ function GenericOnlineReferenceCard(props: OnlineReferenceCardProps) {
|
|||
rel="noreferrer"
|
||||
className="!no-underline p-2"
|
||||
>
|
||||
<div className="flex items-center">
|
||||
<img src={favicon} alt="" className="!w-4 h-4 mr-2" />
|
||||
<div className="flex items-center gap-2">
|
||||
<img
|
||||
src={favicon}
|
||||
alt=""
|
||||
className="!w-4 h-4 mr-2 flex-shrink-0"
|
||||
/>
|
||||
<h3
|
||||
className={`overflow-hidden ${props.showFullContent ? "block" : "line-clamp-1"} text-muted-foreground`}
|
||||
className={`overflow-hidden ${props.showFullContent ? "block" : "line-clamp-1"} text-muted-foreground flex-grow`}
|
||||
>
|
||||
{domain}
|
||||
</h3>
|
||||
|
|
Loading…
Add table
Reference in a new issue