forked from Ivasoft/mattermost-mobile
Fix channel item with long name and badge (#6222)
This commit is contained in:
@@ -93,7 +93,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
|
||||
Object {
|
||||
"color": "rgba(255,255,255,0.72)",
|
||||
"marginTop": -1,
|
||||
"paddingLeft": 12,
|
||||
"paddingHorizontal": 12,
|
||||
},
|
||||
false,
|
||||
false,
|
||||
@@ -204,7 +204,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
|
||||
Object {
|
||||
"color": "rgba(255,255,255,0.72)",
|
||||
"marginTop": -1,
|
||||
"paddingLeft": 12,
|
||||
"paddingHorizontal": 12,
|
||||
},
|
||||
false,
|
||||
false,
|
||||
|
||||
@@ -55,7 +55,7 @@ export const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
|
||||
text: {
|
||||
marginTop: -1,
|
||||
color: changeOpacity(theme.sidebarText, 0.72),
|
||||
paddingLeft: 12,
|
||||
paddingHorizontal: 12,
|
||||
},
|
||||
highlight: {
|
||||
color: theme.sidebarText,
|
||||
@@ -70,8 +70,9 @@ export const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
|
||||
badge: {
|
||||
position: 'relative',
|
||||
left: 0,
|
||||
top: 0,
|
||||
top: -2,
|
||||
alignSelf: undefined,
|
||||
borderColor: theme.sidebarBg,
|
||||
},
|
||||
infoBadge: {
|
||||
color: theme.buttonColor,
|
||||
|
||||
@@ -63,7 +63,7 @@ exports[`Threads Component should match snapshot 1`] = `
|
||||
Object {
|
||||
"color": "rgba(255,255,255,0.72)",
|
||||
"marginTop": -1,
|
||||
"paddingLeft": 12,
|
||||
"paddingHorizontal": 12,
|
||||
},
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user