1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

tidy up

This commit is contained in:
Martin McKeaveney 2020-07-29 13:21:32 +01:00
parent 3efc406463
commit 4b8ac1a270
2 changed files with 12 additions and 7 deletions

View file

@ -86,8 +86,8 @@
{header}
{#if sort.column === header}
<svelte:component
style="height: 1em;"
this={sort.direction === 'asc' ? ArrowDown : ArrowUp} />
this={sort.direction === 'asc' ? ArrowDown : ArrowUp}
style="height: 1em;" />
{/if}
</span>
</th>
@ -156,10 +156,6 @@
display: block;
}
th {
cursor: pointer;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;

View file

@ -1 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="none" d="M0 0h24v24H0z"/><path d="M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172z"/></svg>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="18"
height="18">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11
16.172V4h2v12.172z" />
</svg>

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 251 B