From 6749ecc4c3fb489058cc6f5655e47cb51369a52b Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 18 Mar 2025 15:23:41 -0400 Subject: [PATCH] Mostly style fixes --- src/lib/element_manage_hosted_file_li.svelte | 12 +++++++----- src/routes/hosted_files/+page.svelte | 5 ++++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/lib/element_manage_hosted_file_li.svelte b/src/lib/element_manage_hosted_file_li.svelte index 831a0cec..480586e4 100644 --- a/src/lib/element_manage_hosted_file_li.svelte +++ b/src/lib/element_manage_hosted_file_li.svelte @@ -31,7 +31,7 @@ interface Props { let { log_lvl = 0, - class_li_default = 'flex flex-col gap-1 items-center justify-center w-full max-w-2xl mx-auto my-1 max-h-96 overflow-auto', + class_li_default = 'flex flex-col gap-1 items-center justify-center w-fit max-w-4xl mx-auto my-1 max-h-96 overflow-auto', class_li = '', lq__hosted_file_obj_li = $bindable([]), link_to_type, @@ -213,9 +213,11 @@ ae_tmp.show__direct_download = $ae_loc.core?.show__direct_download ?? false; {/if} - - {hosted_file_obj.filename} - + + + {hosted_file_obj.filename} + + {ae_util.format_bytes(hosted_file_obj.size)} @@ -224,7 +226,7 @@ ae_tmp.show__direct_download = $ae_loc.core?.show__direct_download ?? false; class:hidden={!$ae_loc.edit_mode} class="text-xs text-gray-500" > - {hosted_file_obj.hash_sha256?.slice(0, 6)}... + {hosted_file_obj.hash_sha256?.slice(0, 5)}... diff --git a/src/routes/hosted_files/+page.svelte b/src/routes/hosted_files/+page.svelte index 396d930c..e37e5e6f 100644 --- a/src/routes/hosted_files/+page.svelte +++ b/src/routes/hosted_files/+page.svelte @@ -171,7 +171,10 @@ onMount(() => { -
+