chore: always show full content when pinned

This commit is contained in:
Steven 2025-03-14 20:13:54 +08:00
parent ea3a534ce5
commit 6b042fe16e

View file

@ -227,7 +227,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
readonly={readonly}
onClick={handleMemoContentClick}
onDoubleClick={handleMemoContentDoubleClick}
compact={props.compact}
compact={memo.pinned ? false : props.compact} // Always show full content when pinned.
parentPage={parentPage}
/>
{memo.location && <MemoLocationView location={memo.location} />}