Fix channel item with long name and badge (#6222)

This commit is contained in:
Elias Nahum
2022-05-05 08:53:02 -04:00
committed by GitHub
parent a0d2f33b2f
commit 5620a50975
3 changed files with 6 additions and 5 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,