mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 17:01:36 +08:00
feat: highlight pinned memos (#4843)
This commit is contained in:
parent
452f47c4b9
commit
9eafb9bc26
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue