diff --git a/frontend/src/lib/components/HistoryList.svelte b/frontend/src/lib/components/HistoryList.svelte
index e9b987e..f975b29 100644
--- a/frontend/src/lib/components/HistoryList.svelte
+++ b/frontend/src/lib/components/HistoryList.svelte
@@ -2,6 +2,7 @@
import { fileUrl } from '$lib/api/client';
import { chapterLabel } from '$lib/api/chapters';
import type { ReadProgressSummary } from '$lib/api/read_progress';
+ import IconButton from '$lib/components/IconButton.svelte';
import BookImage from '@lucide/svelte/icons/book-image';
import Trash2 from '@lucide/svelte/icons/trash-2';
@@ -112,16 +113,15 @@
Read {formatDate(p.updated_at)}
{#if onClear}
-
+
{/if}
{/each}
@@ -208,23 +208,4 @@
padding: var(--space-2) var(--space-3);
margin: 0 0 var(--space-2);
}
-
- .icon-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- padding: 0;
- background: transparent;
- color: var(--text-muted);
- border: 1px solid transparent;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .icon-btn.danger:hover {
- color: var(--danger);
- background: var(--surface-elevated);
- }
diff --git a/frontend/src/routes/library/+page.svelte b/frontend/src/routes/library/+page.svelte
index 09af536..5d26e0d 100644
--- a/frontend/src/routes/library/+page.svelte
+++ b/frontend/src/routes/library/+page.svelte
@@ -95,12 +95,7 @@
initialDistinct={data.distinctPageTags}
/>
{:else}
-
+
{/if}