Improve robustness of book uploader error handling (#2130)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-03 16:47:59 -07:00
committed by GitHub
co-authored by acx10
parent d3a0e9ddc9
commit 3b3656c29b
10 changed files with 549 additions and 72 deletions
@@ -30,7 +30,6 @@
background: var(--primary-color);
border-radius: 10px;
.header-icon {
font-size: 1.5rem;
color: var(--primary-contrast-color);
@@ -270,7 +269,7 @@
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem;
padding: 0.25rem 0.75rem;
background: var(--card-background);
border: 1px solid var(--border-color);
border-radius: 8px;
@@ -319,7 +318,11 @@
}
&.success {
color: var(--green-500);
color: #22c55e;
}
&.warning {
color: #f97316;
}
&.error {
@@ -377,11 +380,16 @@
font-size: 2.5rem;
color: var(--text-secondary-color);
opacity: 0.6;
transition: color 0.3s ease;
&.active {
color: #22c55e;
}
}
}
.empty-title {
margin: 0 0 0.5rem 0;
margin: 0 0 1.5rem 0;
font-size: 1.125rem;
font-weight: 600;
color: var(--text-color);