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:
@@ -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)}>
|
||||
|
||||
Reference in New Issue
Block a user