Skip to content

Commit

Permalink
Merge branch 'main' of github.com:caoccao/BetterMediaInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Aug 28, 2024
2 parents 49f9583 + 1c634cd commit 0a7a836
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/routes/list.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
Card,
type ColumnDef,
Header,
Overflow,
Table,
tableOrderStore,
TextField,
Expand Down Expand Up @@ -720,16 +721,18 @@
{/if}
{/each}
{:else if viewType == ViewType.List}
<Table
classes={{
table: "border-collapse border border-slate-500 mb-1",
th: "border border-slate-600 p-1 bg-lime-50",
td: "border border-slate-700 px-1 text-nowrap",
}}
data={dataOfListView.sort($tableOrderStoreForListView.handler)}
columns={columnsOfListView}
order={tableOrderStoreForListView}
/>
<Overflow class="pb-2 overflow-auto">
<Table
classes={{
table: "border-collapse border border-slate-500 mb-1",
th: "border border-slate-600 p-1 bg-lime-50",
td: "border border-slate-700 px-1 text-nowrap",
}}
data={dataOfListView.sort($tableOrderStoreForListView.handler)}
columns={columnsOfListView}
order={tableOrderStoreForListView}
/>
</Overflow>
{/if}
{/if}
</div>

0 comments on commit 0a7a836

Please sign in to comment.