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 {
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}
</span>
<!-- <a href="" class="underline text-blue-500"> -->
{hosted_file_obj.filename}
<!-- </a> -->
<span class="text-sm font-semibold">
<!-- <a href="" class="underline text-blue-500"> -->
{hosted_file_obj.filename}
<!-- </a> -->
</span>
<span class="text-xs text-gray-500">
{ae_util.format_bytes(hosted_file_obj.size)}
</span>
@@ -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)}...
</span>
</li>

View File

@@ -171,7 +171,10 @@ onMount(() => {
</Comp_hosted_files_upload>
</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
link_to_type={'account'}
link_to_id={$ae_loc?.account_id}