fix(trash): Papierkorb-Eintrag als vertikale Karte, kompaktere Aktions-Buttons (UX im 380px-Panel)

This commit is contained in:
2026-06-14 10:11:43 +02:00
parent ba5f5c4978
commit 9800e6c949
+16 -7
View File
@@ -698,26 +698,35 @@ body.show-desc .bm-desc { display: block; }
.trash-empty {
padding: 12px 18px; font-size: 12px; color: var(--text-muted);
}
/* Vertikale Karte pro Eintrag: Info ueber volle Breite, Aktionen rechtsbuendig darunter.
Verhindert das Zusammenquetschen im schmalen 380px-Settings-Panel. */
.trash-item {
display: flex; align-items: center; justify-content: space-between;
gap: 10px; padding: 8px 18px;
border-bottom: 1px solid rgba(255,255,255,0.03);
display: flex; flex-direction: column; gap: 8px;
padding: 10px 18px;
border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trash-item:last-child { border-bottom: none; }
.trash-item-info { flex: 1; min-width: 0; }
.trash-item-info { min-width: 0; }
.trash-item-title {
display: block; font-size: 13px; color: var(--text-primary);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.trash-item-meta {
display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px;
display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.trash-item-badge {
font-size: 10px; padding: 2px 6px; border-radius: 4px;
display: inline-block; vertical-align: middle;
font-size: 9px; padding: 2px 6px; border-radius: 4px;
background: rgba(255,255,255,0.06); border: 1px solid var(--border);
color: var(--text-muted); white-space: nowrap; margin-right: 6px;
text-transform: uppercase; letter-spacing: 0.5px;
}
.trash-item-actions { display: flex; gap: 6px; justify-content: flex-end; }
/* Per-Eintrag-Buttons kompakt: das volle Uppercase-btn-danger ist pro Eintrag zu wuchtig. */
.trash-item-actions .btn-danger {
padding: 5px 10px; font-size: 11px; letter-spacing: 0.5px;
}
.trash-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.trash-actions { justify-content: flex-end; }
.trash-actions.hidden { display: none; }