From c69ca25cbd0790ecc2a79c17e462b968a8131562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Fuentes?= Date: Thu, 7 Mar 2024 23:15:04 -0300 Subject: [PATCH] fix: added draggable="false" to file-icon and created a class in styles ".file-icon". formated file fix: width space on file icon fix: format --- gitbutler-ui/src/lib/components/FileListItem.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gitbutler-ui/src/lib/components/FileListItem.svelte b/gitbutler-ui/src/lib/components/FileListItem.svelte index 1b4f0d87e..ca6c92f85 100644 --- a/gitbutler-ui/src/lib/components/FileListItem.svelte +++ b/gitbutler-ui/src/lib/components/FileListItem.svelte @@ -98,7 +98,7 @@ >
- js + js {file.filename} @@ -160,6 +160,10 @@ gap: var(--space-6); overflow: hidden; } + + .file-icon { + width: var(--space-12); + } .name { color: var(--clr-theme-scale-ntrl-0); white-space: nowrap;