mirror of
https://github.com/usememos/memos.git
synced 2025-11-12 02:11:36 +08:00
chore: always show full content when pinned
This commit is contained in:
parent
ea3a534ce5
commit
6b042fe16e
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
|
||||||
readonly={readonly}
|
readonly={readonly}
|
||||||
onClick={handleMemoContentClick}
|
onClick={handleMemoContentClick}
|
||||||
onDoubleClick={handleMemoContentDoubleClick}
|
onDoubleClick={handleMemoContentDoubleClick}
|
||||||
compact={props.compact}
|
compact={memo.pinned ? false : props.compact} // Always show full content when pinned.
|
||||||
parentPage={parentPage}
|
parentPage={parentPage}
|
||||||
/>
|
/>
|
||||||
{memo.location && <MemoLocationView location={memo.location} />}
|
{memo.location && <MemoLocationView location={memo.location} />}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue