Unverified Commit 9eafb9bc authored by unuunn's avatar unuunn Committed by GitHub

feat: highlight pinned memos (#4843)

parent 452f47c4
......@@ -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,
)}
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment