fix: update how pending uploads look

1. Remove Update button because it doesn't do anything
2. Fix spacing in the first column because the file name was unaligned
This commit is contained in:
Steven Nguyen
2024-09-09 17:23:27 +02:00
parent bf5a449c1e
commit c2c7866a41
@@ -147,14 +147,14 @@
<TableCellHead onlyDesktop width={140}>Type</TableCellHead>
<TableCellHead onlyDesktop width={100}>Size</TableCellHead>
<TableCellHead onlyDesktop width={120}>Created</TableCellHead>
<TableCellHead width={30} />
<TableCellHead width={40} />
</TableHeader>
<TableBody>
{#each data.files.files as file, index}
{#if file.chunksTotal / file.chunksUploaded !== 1}
<TableRow>
<TableCell title="Name">
<div class="u-flex u-gap-12 u-main-space-between u-cross-center">
<div class="u-flex u-gap-12 u-cross-center">
<span class="avatar is-size-small is-color-empty" />
<span class="text u-trim">{file.name}</span>
@@ -172,12 +172,6 @@
</TableCellText>
<TableCell>
<div class="u-flex u-main-center">
<button
class="button is-only-icon is-text"
aria-label="Delete item"
on:click|preventDefault>
<span class="icon-refresh" aria-hidden="true" />
</button>
<button
class="button is-only-icon is-text"
aria-label="Delete item"