fix(ui): make feed cards full-width links
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
d0b7ba4194
commit
41597da0aa
|
|
@ -437,7 +437,7 @@ export function FeedCard({
|
|||
<Card
|
||||
data-fc="card"
|
||||
className={cn(
|
||||
"flex-row group ml-3 mr-3 md:ml-0 my-2 items-center gap-2 p-(--sz-18px) text-xs",
|
||||
"flex-row group ml-3 mr-3 md:ml-0 my-2 w-(--sz-calc-1) md:w-full items-center gap-2 p-(--sz-18px) text-xs",
|
||||
"transition-(--tp-background-color-border-color) duration-150",
|
||||
content.link && "cursor-pointer hover:bg-accent hover:border-muted-foreground/30",
|
||||
className,
|
||||
|
|
@ -480,7 +480,8 @@ export function FeedCard({
|
|||
return (
|
||||
<Link
|
||||
to={content.link}
|
||||
className="block no-underline text-inherit"
|
||||
data-fc="link"
|
||||
className="block w-full no-underline text-inherit"
|
||||
issueQuicklookSide="left"
|
||||
>
|
||||
{card}
|
||||
|
|
|
|||
Loading…
Reference in New Issue