mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix compact default value
This commit is contained in:
@@ -65,7 +65,7 @@ const Explore = () => {
|
||||
<div className="flex flex-col justify-start items-start w-full max-w-full">
|
||||
<MemoFilter className="px-2 pb-2" />
|
||||
{sortedMemos.map((memo) => (
|
||||
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showCreator showVisibility showPinned />
|
||||
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showCreator showVisibility showPinned compact />
|
||||
))}
|
||||
{isRequesting ? (
|
||||
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">
|
||||
|
@@ -89,7 +89,7 @@ const Home = () => {
|
||||
<div className="flex flex-col justify-start items-start w-full max-w-full">
|
||||
<MemoFilter className="px-2 pb-2" />
|
||||
{sortedMemos.map((memo) => (
|
||||
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showVisibility showPinned />
|
||||
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showVisibility showPinned compact />
|
||||
))}
|
||||
{isRequesting ? (
|
||||
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">
|
||||
|
@@ -131,7 +131,7 @@ const MemoDetail = () => {
|
||||
</Button>
|
||||
</div>
|
||||
{comments.map((comment) => (
|
||||
<MemoView key={`${comment.name}-${comment.displayTime}`} memo={comment} showCreator />
|
||||
<MemoView key={`${comment.name}-${comment.displayTime}`} memo={comment} showCreator compact />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
@@ -174,6 +174,7 @@ const Timeline = () => {
|
||||
className="!border w-full !border-gray-100 dark:!border-zinc-700"
|
||||
memo={memo}
|
||||
displayTimeFormat="time"
|
||||
compact
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
@@ -133,7 +133,7 @@ const UserProfile = () => {
|
||||
</div>
|
||||
<MemoFilter className="px-2 pb-3" />
|
||||
{sortedMemos.map((memo) => (
|
||||
<MemoView key={`${memo.name}-${memo.displayTime}`} memo={memo} showVisibility showPinned />
|
||||
<MemoView key={`${memo.name}-${memo.displayTime}`} memo={memo} showVisibility showPinned compact />
|
||||
))}
|
||||
{isRequesting ? (
|
||||
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">
|
||||
|
Reference in New Issue
Block a user