From 505ebd9325c0aa54adb034c012c45c913bb36d73 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 10 Mar 2026 14:18:14 +0100 Subject: [PATCH] fix: add scroll to backup history --- components/BackupList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/BackupList.vue b/components/BackupList.vue index 3382c63..9dcad3b 100644 --- a/components/BackupList.vue +++ b/components/BackupList.vue @@ -83,7 +83,7 @@ watch(() => props.folder, async (folder) => { loading.value = true try { const data = await $fetch(`/api/backups?folder=${encodeURIComponent(folder)}`) - backups.value = data.slice(0, 5) + backups.value = data } catch (error) { console.error("Erreur récupération backups:", error) backups.value = [] @@ -124,6 +124,9 @@ watch(() => props.folder, async (folder) => { display: flex; flex-direction: column; gap: 0.375rem; + max-height: calc((2.875rem * 5) + (0.375rem * 4)); + overflow-y: auto; + padding-right: 0.25rem; } .file-row {