mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Fix Folder header
This commit is contained in:
parent
395376c76f
commit
3a746a211c
|
@ -46,7 +46,7 @@ function TableHeader<TData>({
|
||||||
onClick={enableSorting ? header.column.getToggleSortingHandler() : undefined}
|
onClick={enableSorting ? header.column.getToggleSortingHandler() : undefined}
|
||||||
>
|
>
|
||||||
{!header.isPlaceholder ? (
|
{!header.isPlaceholder ? (
|
||||||
<span className='inline-flex gap-1'>
|
<span className='inline-flex align-middle gap-1'>
|
||||||
{flexRender(header.column.columnDef.header, header.getContext())}
|
{flexRender(header.column.columnDef.header, header.getContext())}
|
||||||
{enableSorting && header.column.getCanSort() ? <SortingIcon column={header.column} /> : null}
|
{enableSorting && header.column.getCanSort() ? <SortingIcon column={header.column} /> : null}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -51,9 +51,9 @@ function ViewLibrary({ items, resetQuery }: ViewLibraryProps) {
|
||||||
columnHelper.accessor('location', {
|
columnHelper.accessor('location', {
|
||||||
id: 'location',
|
id: 'location',
|
||||||
header: () => (
|
header: () => (
|
||||||
<span className='pl-2'>
|
<div className='pl-2 max-h-[1rem] translate-y-[-0.125rem]'>
|
||||||
<IconFolder size='1.25rem' className='clr-text-controls' />
|
<IconFolder size='1.25rem' className='clr-text-controls' />
|
||||||
</span>
|
</div>
|
||||||
),
|
),
|
||||||
size: 50,
|
size: 50,
|
||||||
minSize: 50,
|
minSize: 50,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user