Mostly style fixes

This commit is contained in:
Scott Idem
2025-03-18 15:23:41 -04:00
parent c96e59c660
commit 6749ecc4c3
2 changed files with 11 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ interface Props {
let { let {
log_lvl = 0, 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 = '', class_li = '',
lq__hosted_file_obj_li = $bindable([]), lq__hosted_file_obj_li = $bindable([]),
link_to_type, link_to_type,
@@ -213,9 +213,11 @@ ae_tmp.show__direct_download = $ae_loc.core?.show__direct_download ?? false;
{/if} {/if}
</span> </span>
<!-- <a href="" class="underline text-blue-500"> --> <span class="text-sm font-semibold">
{hosted_file_obj.filename} <!-- <a href="" class="underline text-blue-500"> -->
<!-- </a> --> {hosted_file_obj.filename}
<!-- </a> -->
</span>
<span class="text-xs text-gray-500"> <span class="text-xs text-gray-500">
{ae_util.format_bytes(hosted_file_obj.size)} {ae_util.format_bytes(hosted_file_obj.size)}
</span> </span>
@@ -224,7 +226,7 @@ ae_tmp.show__direct_download = $ae_loc.core?.show__direct_download ?? false;
class:hidden={!$ae_loc.edit_mode} class:hidden={!$ae_loc.edit_mode}
class="text-xs text-gray-500" class="text-xs text-gray-500"
> >
{hosted_file_obj.hash_sha256?.slice(0, 6)}... {hosted_file_obj.hash_sha256?.slice(0, 5)}...
</span> </span>
</li> </li>

View File

@@ -171,7 +171,10 @@ onMount(() => {
</Comp_hosted_files_upload> </Comp_hosted_files_upload>
</div> </div>
<div class:hidden={$ae_sess.files.add_to_use_files_method == 'select'}> <div
class:hidden={$ae_sess.files.add_to_use_files_method == 'select'}
class=""
>
<Element_manage_hosted_file_li_wrap <Element_manage_hosted_file_li_wrap
link_to_type={'account'} link_to_type={'account'}
link_to_id={$ae_loc?.account_id} link_to_id={$ae_loc?.account_id}