From 85e3420f231a669a086fcf262199eb922c3edbcc Mon Sep 17 00:00:00 2001 From: Caleb Owens Date: Mon, 6 May 2024 00:31:11 +0100 Subject: [PATCH] Drastically improve render performance When rendering 1900 odd files, flexbox can cause performance issues due to having to recalculate many times. I've removed a selection of un-needed flex declarations which has improved perfomrance sugnificantly. --- app/src/lib/components/BranchFiles.svelte | 2 -- app/src/lib/components/FileListItem.svelte | 28 +++++++--------------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/app/src/lib/components/BranchFiles.svelte b/app/src/lib/components/BranchFiles.svelte index 1b4d867cb..f80ab387b 100644 --- a/app/src/lib/components/BranchFiles.svelte +++ b/app/src/lib/components/BranchFiles.svelte @@ -39,8 +39,6 @@