[MM-19307] Make LHS channel item display name not overlap with mention count (#3417)

* make channel item display name more narrow, so it does not run into the mention count

* Update snapshot
This commit is contained in:
Michael Kochell 2019-10-15 07:52:25 -06:00 committed by Dean Whillier
parent ca75e2407b
commit 4dc6a0fe5c
2 changed files with 9 additions and 0 deletions

View file

@ -87,6 +87,7 @@ exports[`ChannelItem should match snapshot 1`] = `
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -202,6 +203,7 @@ exports[`ChannelItem should match snapshot for current user i.e currentUser (you
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -316,6 +318,7 @@ exports[`ChannelItem should match snapshot for current user i.e currentUser (you
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -430,6 +433,7 @@ exports[`ChannelItem should match snapshot for deactivated user and is currentCh
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -533,6 +537,7 @@ exports[`ChannelItem should match snapshot for deactivated user and is searchRes
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -637,6 +642,7 @@ exports[`ChannelItem should match snapshot for deactivated user and not searchRe
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -745,6 +751,7 @@ exports[`ChannelItem should match snapshot with draft 1`] = `
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {
@ -851,6 +858,7 @@ exports[`ChannelItem should match snapshot with mentions and muted 1`] = `
"fontFamily": "Open Sans",
"fontSize": 16,
"lineHeight": 24,
"maxWidth": "80%",
"paddingRight": 10,
},
Object {

View file

@ -245,6 +245,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
fontSize: 16,
lineHeight: 24,
paddingRight: 10,
maxWidth: '80%',
flex: 1,
alignSelf: 'center',
fontFamily: 'Open Sans',