Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: always show full content when pinned

Steven6b042fe16eea
diff --git a/web/src/components/MemoView.tsx b/web/src/components/MemoView.tsx
index ab5e21067..689b17c32 100644
--- a/web/src/components/MemoView.tsx
+++ b/web/src/components/MemoView.tsx
@@ -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} />}