MM-25434 Fix switch team badge cut off (#4331)

This commit is contained in:
Elias Nahum 2020-05-22 13:47:35 -04:00 committed by GitHub
parent 0b4a0924c8
commit 0b3c91dd81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ export default class ChannelsList extends PureComponent {
backgroundColor='transparent'
inputHeight={33}
inputStyle={searchBarInput}
containerStyle={styles.flex}
containerStyle={styles.searchBar}
placeholderTextColor={changeOpacity(theme.sidebarHeaderTextColor, 0.5)}
tintColorSearch={changeOpacity(theme.sidebarHeaderTextColor, 0.5)}
tintColorDelete={changeOpacity(theme.sidebarHeaderTextColor, 0.5)}
@ -173,9 +173,6 @@ export default class ChannelsList extends PureComponent {
const getStyleSheet = makeStyleSheetFromTheme((theme) => {
return {
flex: {
flex: 1,
},
above: {
backgroundColor: theme.mentionBg,
top: 40,
@ -229,6 +226,10 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
right: 10,
top: 10,
},
searchBar: {
flex: 1,
overflow: 'visible',
},
searchContainer: {
flex: 1,
flexDirection: 'row',