feat: highlight pinned memos (#4843)

pull/4849/head
unuunn 3 weeks ago committed by GitHub
parent 452f47c4b9
commit 9eafb9bc26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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,
)}
>

Loading…
Cancel
Save