From 68bad2aa0be477d3d24656eb1b02540604bc2cd9 Mon Sep 17 00:00:00 2001 From: NishantBorthakur Date: Fri, 28 Jul 2023 11:52:41 +0530 Subject: [PATCH] frontend fixes --- gui/pages/Dashboard/Content.js | 4 ++-- gui/pages/Dashboard/Dashboard.module.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/pages/Dashboard/Content.js b/gui/pages/Dashboard/Content.js index 3783596ee..95996600b 100644 --- a/gui/pages/Dashboard/Content.js +++ b/gui/pages/Dashboard/Content.js @@ -313,7 +313,7 @@ export default function Content({env, selectedView, selectedProjectId, organisat {(selectedView === 'agents' || selectedView === 'toolkits' || selectedView === 'knowledge') &&
{selectedView === 'agents' &&
} - {selectedView === 'toolkits' &&
} + {selectedView === 'toolkits' &&
} {selectedView === 'knowledge' &&
}
} @@ -364,7 +364,7 @@ export default function Content({env, selectedView, selectedProjectId, organisat :
+ style={(selectedView === 'agents' || selectedView === 'toolkits' || selectedView === 'knowledge') ? {width: '80.5vw'} : {width: '100%'}}>
{tabs.map((tab, index) => ( diff --git a/gui/pages/Dashboard/Dashboard.module.css b/gui/pages/Dashboard/Dashboard.module.css index bba3c4845..528faf325 100644 --- a/gui/pages/Dashboard/Dashboard.module.css +++ b/gui/pages/Dashboard/Dashboard.module.css @@ -183,6 +183,7 @@ order: 1; justify-content: flex-end; align-items: center; + height: 100%; } .empty_state_button {