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