mirror of
https://github.com/usememos/memos.git
synced 2024-11-10 17:02:21 +08:00
chore: fix compact default value
This commit is contained in:
parent
616f306efe
commit
e40b39033f
5 changed files with 5 additions and 4 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue