From cbf47dc5569df0c95e6ab73f5a44f530cbdd110e Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 6 Jan 2022 12:22:43 +0100 Subject: [PATCH] fix(nui): Set resource name overflow to ellipsis --- ui/src/components/NavBars/LeftBar.tsx | 8 +++++++- ui/src/components/Resource.tsx | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/src/components/NavBars/LeftBar.tsx b/ui/src/components/NavBars/LeftBar.tsx index 2df059f..de7d3d7 100644 --- a/ui/src/components/NavBars/LeftBar.tsx +++ b/ui/src/components/NavBars/LeftBar.tsx @@ -16,7 +16,13 @@ const LeftBar: React.FC = () => { {initData.resources.map((resource, index) => ( - + {resource} diff --git a/ui/src/components/Resource.tsx b/ui/src/components/Resource.tsx index 19c373b..90336de 100644 --- a/ui/src/components/Resource.tsx +++ b/ui/src/components/Resource.tsx @@ -56,7 +56,7 @@ const Resource: React.FC = () => { accessor: 'query', }, { - Header: 'Execution time', + Header: 'Execution time (ms)', accessor: 'executionTime', }, ],