[MM-48951] Add flex to text so that it shrinks and allows icons to take precedence (#6853)

This commit is contained in:
Jason Frerich
2022-12-09 13:14:47 -06:00
committed by GitHub
parent 8a8a888420
commit 67ff0d2d53

View File

@@ -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',
},
};