Compare commits
No commits in common. "lend-table-adjustments" and "main" have entirely different histories.
lend-table
...
main
@ -48,7 +48,7 @@ export default function Manage(props: Props) {
|
||||
if (!address) return null
|
||||
|
||||
return (
|
||||
<div className='z-10 flex justify-end'>
|
||||
<div className='flex justify-end z-10'>
|
||||
<DropDownButton items={ITEMS} text='Manage' color='tertiary' />
|
||||
</div>
|
||||
)
|
||||
|
@ -66,7 +66,7 @@ export default function Row<T>(props: Props<T>) {
|
||||
spacingClassName ?? 'px-3 py-4',
|
||||
type && type !== 'strategies' && isSymbolOrName && 'border-l',
|
||||
type && type !== 'strategies' && getBorderColor(type, cell.row.original as any),
|
||||
cell.column.columnDef.meta?.className,
|
||||
cell.column.columnDef.meta?.className ?? 'w-min',
|
||||
)}
|
||||
>
|
||||
{flexRender(cell.column.columnDef.cell, cell.getContext())}
|
||||
|
@ -76,6 +76,7 @@ export default function Table<T>(props: Props<T>) {
|
||||
props.spacingClassName ?? 'px-4 py-3',
|
||||
header.column.getCanSort() && 'hover:cursor-pointer',
|
||||
header.id === 'symbol' || header.id === 'name' ? 'text-left' : 'text-right',
|
||||
'w-min',
|
||||
header.column.columnDef.meta?.className,
|
||||
)}
|
||||
>
|
||||
|
@ -10,9 +10,6 @@ export const DEPOSIT_CAP_META = {
|
||||
accessorKey: 'marketDepositCap',
|
||||
header: 'Deposit Cap',
|
||||
id: 'marketDepositCap',
|
||||
meta: {
|
||||
className: 'w-50',
|
||||
},
|
||||
}
|
||||
|
||||
export const marketDepositCapSortingFn = (
|
||||
|
@ -13,9 +13,6 @@ export const LEND_BUTTON_META = {
|
||||
accessorKey: 'lend',
|
||||
enableSorting: false,
|
||||
header: '',
|
||||
meta: {
|
||||
className: 'w-40',
|
||||
},
|
||||
}
|
||||
|
||||
interface Props {
|
||||
|
@ -13,9 +13,6 @@ export const MANAGE_META = {
|
||||
accessorKey: 'manage',
|
||||
enableSorting: false,
|
||||
header: '',
|
||||
meta: {
|
||||
className: 'w-40',
|
||||
},
|
||||
}
|
||||
|
||||
interface Props {
|
||||
@ -78,7 +75,7 @@ export default function Manage(props: Props) {
|
||||
if (!address) return null
|
||||
|
||||
return (
|
||||
<div className='z-10 flex justify-end'>
|
||||
<div className='flex justify-end z-10'>
|
||||
<DropDownButton items={ITEMS} text='Manage' color='tertiary' />
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user