mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-22 10:02:41 +00:00
style(client): strip link underlines in web search verticals
The image and shopping anchors sit inside the markdown prose scope, so every label rendered with the blue link underline.
This commit is contained in:
parent
b00516b11f
commit
309d2ab3e8
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ function ImageStrip({ images, label }: { images: ImageResult[]; label: string })
|
|||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label={image.title || image.domain || label}
|
||||
className="block h-28 overflow-hidden rounded-xl border border-border-light focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-heavy"
|
||||
className="block h-28 overflow-hidden rounded-xl border border-border-light no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-heavy"
|
||||
style={{ aspectRatio: ratio }}
|
||||
>
|
||||
<img
|
||||
|
|
@ -127,7 +127,7 @@ function ShoppingStrip({ items, label }: { items: ShoppingResult[]; label: strin
|
|||
href={item.link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex w-full flex-col rounded-xl border border-border-light p-2 transition-colors hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-heavy"
|
||||
className="flex w-full flex-col rounded-xl border border-border-light p-2 no-underline transition-colors hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-heavy"
|
||||
>
|
||||
{item.imageUrl && (
|
||||
<div className="mb-2 aspect-square w-full shrink-0 overflow-hidden rounded-lg bg-surface-tertiary">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue