From f6cb261cebc0be4f1407063414f41543c33897bf Mon Sep 17 00:00:00 2001 From: dougfabris Date: Wed, 1 Jun 2022 15:14:50 -0300 Subject: [PATCH] fix: unnecessary padding on teams channels footer --- .../channels/BaseTeamsChannels.js | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/apps/meteor/client/views/teams/contextualBar/channels/BaseTeamsChannels.js b/apps/meteor/client/views/teams/contextualBar/channels/BaseTeamsChannels.js index b21e0337afe6..9cf70c819021 100644 --- a/apps/meteor/client/views/teams/contextualBar/channels/BaseTeamsChannels.js +++ b/apps/meteor/client/views/teams/contextualBar/channels/BaseTeamsChannels.js @@ -83,20 +83,22 @@ const BaseTeamsChannels = ({ )} - - - {onClickAddExisting && ( - - )} - {onClickCreateNew && ( - - )} - - + {(onClickAddExisting || onClickCreateNew) && ( + + + {onClickAddExisting && ( + + )} + {onClickCreateNew && ( + + )} + + + )} ); };