From d3f4dbb267917835ffa4860c6440caf1ce933463 Mon Sep 17 00:00:00 2001 From: shatfield4 Date: Wed, 6 Dec 2023 13:23:28 -0800 Subject: [PATCH 01/12] WIP workspace document --- .../components/Sidebar/OrganizationTab/index.tsx | 2 +- frontend/src/components/Sidebar/index.tsx | 2 +- frontend/src/layout/AppLayout.tsx | 4 ++-- .../DocumentView/FragmentList/SearchView/index.tsx | 4 ++-- .../src/pages/DocumentView/FragmentList/index.tsx | 14 +++++++------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/Sidebar/OrganizationTab/index.tsx b/frontend/src/components/Sidebar/OrganizationTab/index.tsx index 6fbfb28..6df556f 100644 --- a/frontend/src/components/Sidebar/OrganizationTab/index.tsx +++ b/frontend/src/components/Sidebar/OrganizationTab/index.tsx @@ -82,7 +82,7 @@ export default function OrganizationTab({ to={paths.organization(organization)} className={({ isActive: active }) => { setIsActive(active); - return `group relative flex w-[13vw] items-center justify-between rounded-lg border border-transparent bg-main-2 px-4 py-3 font-medium text-white duration-300 ease-in-out hover:border-sky-400 hover:text-white ${ + return `group relative flex w-full items-center justify-between rounded-lg border border-transparent bg-main-2 px-4 py-3 font-medium text-white duration-300 ease-in-out hover:border-sky-400 hover:text-white ${ active ? 'border-sky-400 !text-white' : '' }`; }} diff --git a/frontend/src/components/Sidebar/index.tsx b/frontend/src/components/Sidebar/index.tsx index d841144..de2a38d 100644 --- a/frontend/src/components/Sidebar/index.tsx +++ b/frontend/src/components/Sidebar/index.tsx @@ -90,7 +90,7 @@ export default function Sidebar({ <>