[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:
parent
ca75e2407b
commit
4dc6a0fe5c
2 changed files with 9 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -245,6 +245,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
fontSize: 16,
|
||||
lineHeight: 24,
|
||||
paddingRight: 10,
|
||||
maxWidth: '80%',
|
||||
flex: 1,
|
||||
alignSelf: 'center',
|
||||
fontFamily: 'Open Sans',
|
||||
|
|
|
|||
Loading…
Reference in a new issue