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

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-05-22 19:57:38 +02:00 committed by GitHub
parent cabce2a808
commit 3708b86b30
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',