Ios accessibility fixes (#2842)

* UCHAT-4371 // MM-15771 - iOS - Larger Fonts Cut Off Text in menu and settings screens

revert padding right

* Update snapshot
This commit is contained in:
Chris Duarte 2019-06-22 01:40:16 +05:30 committed by Elias Nahum
parent fe0450e4c7
commit 31a5d46ee0
No known key found for this signature in database
GPG key ID: E038DB71E0B61702
3 changed files with 9 additions and 25 deletions

View file

@ -81,14 +81,12 @@ exports[`ChannelItem should match snapshot 1`] = `
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -196,14 +194,12 @@ exports[`ChannelItem should match snapshot for current user i.e currentUser (you
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -311,14 +307,12 @@ exports[`ChannelItem should match snapshot for current user i.e currentUser (you
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -426,14 +420,12 @@ exports[`ChannelItem should match snapshot for deactivated user and is currentCh
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -530,14 +522,12 @@ exports[`ChannelItem should match snapshot for deactivated user and is searchRes
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -640,14 +630,12 @@ exports[`ChannelItem should match snapshot with draft 1`] = `
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",
@ -746,14 +734,12 @@ exports[`ChannelItem should match snapshot with mentions and muted 1`] = `
style={
Array [
Object {
"alignSelf": "center",
"color": "rgba(255,255,255,0.4)",
"flex": 1,
"fontSize": 14,
"fontWeight": "600",
"height": "100%",
"lineHeight": 44,
"paddingRight": 10,
"textAlignVertical": "center",
},
Object {
"color": "#ffffff",

View file

@ -242,10 +242,8 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
fontSize: 14,
fontWeight: '600',
paddingRight: 10,
height: '100%',
flex: 1,
textAlignVertical: 'center',
lineHeight: 44,
alignSelf: 'center',
},
textActive: {
color: theme.sidebarTextActiveColor,

View file

@ -40,7 +40,7 @@ export default makeStyleSheetFromTheme((theme) => {
color: theme.centerChannelColor,
flex: 1,
fontSize: 17,
lineHeight: 43,
alignSelf: 'center',
},
arrowContainer: {
justifyContent: 'center',