feat: highlight pinned memos (#4843)

This commit is contained in:
unuunn 2025-07-10 02:38:33 +03:00 committed by GitHub
parent 452f47c4b9
commit 9eafb9bc26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,8 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
) : (
<div
className={cn(
"group relative flex flex-col justify-start items-start w-full px-4 py-3 mb-2 gap-2 bg-card text-card-foreground rounded-lg border border-border transition-colors",
"group relative flex flex-col justify-start items-start w-full px-4 py-3 mb-2 gap-2 text-card-foreground rounded-lg border border-border transition-colors",
props.showPinned && memo.pinned ? "bg-accent" : "bg-card",
className,
)}
>