From df43680aa1fd813212bd7bf2d37f8a662ce36e9b Mon Sep 17 00:00:00 2001 From: Daniil Polienko Date: Wed, 18 Dec 2024 17:07:43 +0300 Subject: [PATCH] fix: grid --- .../components/details/tabs/VaultDetailsStrategies.tsx | 7 ++++++- apps/vaults-v3/components/list/VaultsV3ListHead.tsx | 2 +- apps/vaults-v3/components/list/VaultsV3ListRow.tsx | 5 +---- apps/vaults/components/list/VaultsListRow.tsx | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx b/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx index ec2ab14e4..dee48413c 100755 --- a/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx +++ b/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx @@ -95,7 +95,12 @@ export function VaultDetailsStrategies({currentVault}: {currentVault: TYDaemonVa }} items={[ {label: 'Vault', value: 'name', sortable: true, className: 'col-span-2'}, - {label: 'Risk Level', value: 'score', sortable: true, className: 'col-span-2'}, + { + label: 'Risk Level', + value: 'score', + sortable: true, + className: 'col-span-1 text-nowrap' + }, {label: 'Est. APY', value: 'estAPY', sortable: true, className: 'col-span-2'}, {label: 'Hist. APY', value: 'APY', sortable: true, className: 'col-span-2'}, {label: 'Available', value: 'available', sortable: true, className: 'col-span-2'}, diff --git a/apps/vaults-v3/components/list/VaultsV3ListHead.tsx b/apps/vaults-v3/components/list/VaultsV3ListHead.tsx index c14910636..131537841 100644 --- a/apps/vaults-v3/components/list/VaultsV3ListHead.tsx +++ b/apps/vaults-v3/components/list/VaultsV3ListHead.tsx @@ -79,7 +79,7 @@ export function VaultsV3ListHead({items, sortBy, sortDirection, onSort}: TListHe
-
+
{rest.map( (item, index): ReactElement => (