From 6de5e17b791e897dba57163b2b09adfc10dbe07a Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Fri, 3 Apr 2020 11:07:33 +0200 Subject: [PATCH] update UserPageLayout --- client/public/index.html | 4 ++-- client/src/components/UserTabPanel.tsx | 4 ++-- client/src/pages/UserPage.tsx | 24 ++++++++++-------------- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/client/public/index.html b/client/public/index.html index aec8e99..eb30249 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -12,11 +12,11 @@ - - + --> { const useStyles = makeStyles((theme: Theme) => ({ root: { backgroundColor: theme.palette.background.paper, - width: 500 + flexGrow: 1 } })); @@ -71,7 +71,7 @@ export const UserTabPanel: FC = ({ tickets, tabNames, projects }) => { return (
- + = ({ viewModel }) => { const { fullName, presentation, picture, projects, tickets } = viewModel; const tabNames: string[] = ["Projects", "Tickets"]; + return ( -
-
- - -
-
+ + + + ); };