Skip to content

Commit 6b042fe

Browse files
committed
chore: always show full content when pinned
1 parent ea3a534 commit 6b042fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/MemoView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
227227
readonly={readonly}
228228
onClick={handleMemoContentClick}
229229
onDoubleClick={handleMemoContentDoubleClick}
230-
compact={props.compact}
230+
compact={memo.pinned ? false : props.compact} // Always show full content when pinned.
231231
parentPage={parentPage}
232232
/>
233233
{memo.location && <MemoLocationView location={memo.location} />}

0 commit comments

Comments
 (0)