From 67ff0d2d53aa99c010d4e9bf1415dc2747ace8db Mon Sep 17 00:00:00 2001 From: Jason Frerich Date: Fri, 9 Dec 2022 13:14:47 -0600 Subject: [PATCH] [MM-48951] Add flex to text so that it shrinks and allows icons to take precedence (#6853) --- .../team_sidebar/add_team/team_list_item/team_list_item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/team_sidebar/add_team/team_list_item/team_list_item.tsx b/app/components/team_sidebar/add_team/team_list_item/team_list_item.tsx index 0665af710f..0aa44a4194 100644 --- a/app/components/team_sidebar/add_team/team_list_item/team_list_item.tsx +++ b/app/components/team_sidebar/add_team/team_list_item/team_list_item.tsx @@ -37,6 +37,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => { text: { color: theme.centerChannelColor, marginLeft: 16, + flex: 1, ...typography('Body', 200), }, icon_container: { @@ -44,7 +45,6 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => { height: 40, }, compassContainer: { - flex: 1, alignItems: 'flex-end', }, };