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