Commit 6b042fe1 authored by Steven's avatar Steven

chore: always show full content when pinned

parent ea3a534c
...@@ -227,7 +227,7 @@ const MemoView: React.FC<Props> = (props: Props) => { ...@@ -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} />}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment