From 3967358531b6c911a88bba6163db7502133aab8a Mon Sep 17 00:00:00 2001 From: Will O'Beirne Date: Mon, 4 Feb 2019 17:39:46 -0500 Subject: [PATCH] Minimum tab heights on proposals and profiles. --- frontend/client/components/Profile/index.tsx | 132 +++++++++--------- frontend/client/components/Profile/style.less | 4 + .../client/components/Proposal/index.less | 4 + frontend/client/components/Proposal/index.tsx | 34 ++--- 4 files changed, 95 insertions(+), 79 deletions(-) diff --git a/frontend/client/components/Profile/index.tsx b/frontend/client/components/Profile/index.tsx index 93b80cc8..04eb5257 100644 --- a/frontend/client/components/Profile/index.tsx +++ b/frontend/client/components/Profile/index.tsx @@ -113,74 +113,80 @@ class Profile extends React.Component { render={() => } /> - - {isAuthedUser && ( - +
+ + {isAuthedUser && ( + +
+ {nonePending && ( + + )} + +
+
+ )} +
- {nonePending && ( - + {noneCreated && ( + )} - -
-
- )} - -
- {noneCreated && ( - - )} - {proposals.map(p => ( - - ))} -
-
- -
- {noneFunded && } - {contributions.map(c => ( - - ))} -
-
- -
- {noneCommented && } - {comments.map(c => ( - - ))} -
-
- {isAuthedUser && ( - -
- {noneInvites && ( - - )} - {invites.map(invite => ( - + {proposals.map(p => ( + ))}
- )} -
+ +
+ {noneFunded && ( + + )} + {contributions.map(c => ( + + ))} +
+
+ +
+ {noneCommented && ( + + )} + {comments.map(c => ( + + ))} +
+
+ {isAuthedUser && ( + +
+ {noneInvites && ( + + )} + {invites.map(invite => ( + + ))} +
+
+ )} + +
{ - - -
- -
-
- - - - - - - - - -
+
+ + +
+ +
+
+ + + + + + + + + +
+
{isTrustee && ( <>