data types in column header

This commit is contained in:
Jan Prochazka 2022-02-10 08:50:07 +01:00
parent fcb0f45a4b
commit 3ee29fead7

View File

@ -79,6 +79,12 @@
</span>
{/if}
<ColumnLabel {...column} />
{#if column.dataType && !order}
<span class="data-type" title={column.dataType}>
{column.dataType}
</span>
{/if}
</div>
{#if order == 'ASC'}
<span class="icon">
@ -121,4 +127,7 @@
color: var(--theme-font-alt);
white-space: nowrap;
}
.data-type {
color: var(--theme-font-3);
}
</style>