fix: NAS attachment overflow in detail sheet + vault filter reset

- Detail sheet: add overflow-hidden to ScrollArea content wrapper so
  NAS attachment cards with long paths don't push badges/copy icon
  beyond the sheet boundary
- Password vault: reset category filter to 'all' and clear search
  after adding/editing an entry so user sees the new entry immediately
  instead of landing on a filtered empty view
This commit is contained in:
AI Assistant
2026-02-28 18:55:04 +02:00
parent 7a1aee15fd
commit 26f0033c60
2 changed files with 3 additions and 1 deletions
@@ -237,6 +237,8 @@ export function PasswordVaultModule() {
}
setViewMode("list");
setEditingEntry(null);
updateFilter("category", "all");
updateFilter("search", "");
};
const handleDeleteConfirm = async () => {
@@ -219,7 +219,7 @@ export function RegistryEntryDetail({
<Separator className="mt-4" />
<ScrollArea className="flex-1 px-6">
<div className="space-y-5 py-4">
<div className="space-y-5 py-4 overflow-hidden">
{/* ── Status row ── */}
<div className="flex flex-wrap gap-2">
<Badge className={cn("text-xs px-2.5 py-0.5", dir.class)}>