部分还原了便签列表项

This commit is contained in:
User
2025-10-10 15:51:48 +08:00
parent 57737aa12a
commit d0a47b44d2
2 changed files with 8 additions and 3 deletions

View File

@@ -38,8 +38,8 @@
</div>
<div style="flex: 1">
<div style="border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px var(--shadow); background-color: var(--background-card); margin: 0 16px">
<div v-for="note in filteredAndSortedNotes" :key="note.id">
<div style="margin-inline: 0.5rem">
<div v-for="note in filteredAndSortedNotes" :key="note.id" style="border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px var(--shadow); background-color: var(--background-card); margin-block: .5rem">
<NoteItem :title="note.title" :content="note.content" :date="formatDate(note.updatedAt)" :isStarred="note.isStarred" :onPress="() => handleNotePress(note.id)" :onDelete="() => handleDeleteNote(note.id)" />
</div>
</div>