Skip to content

Commit

Permalink
fix(INJI-472): hindi text matras getting hidden
Browse files Browse the repository at this point in the history
IssuersScreen was hiding matras in hindi text displayed, padding is added to resolve this

Signed-off-by: Kiruthika Jeyashankar <[email protected]>
  • Loading branch information
KiruthikaJeyashankar committed Oct 19, 2023
1 parent c25ed34 commit 9dfb2aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions components/ui/themes/DefaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1181,13 +1181,15 @@ export const DefaultTheme = {
lineHeight: 17,
paddingHorizontal: 3,
paddingBottom: 4,
paddingTop: 1.7,
},
issuerDescription: {
fontSize: 11,
lineHeight: 14,
color: Colors.ShadeOfGrey,
paddingVertical: 5,
paddingHorizontal: 3,
paddingTop: 1,
},
issuerIcon: {
resizeMode: 'contain',
Expand Down
2 changes: 2 additions & 0 deletions components/ui/themes/PurpleTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1181,11 +1181,13 @@ export const PurpleTheme = {
fontFamily: 'Inter_600SemiBold',
fontSize: 14,
lineHeight: 17,
paddingTop: 1.7,
},
issuerDescription: {
fontSize: 11,
lineHeight: 14,
color: Colors.ShadeOfGrey,
paddingTop: 1,
},
issuerIcon: {
resizeMode: 'contain',
Expand Down
5 changes: 3 additions & 2 deletions screens/Issuers/IssuersScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, {useLayoutEffect} from 'react';
import {useTranslation} from 'react-i18next';
import {FlatList, Image, Text, View} from 'react-native';
import {FlatList, Image, View} from 'react-native';
import {Issuer} from '../../components/openId4VCI/Issuer';
import {Error} from '../../components/ui/Error';
import {Header} from '../../components/ui/Header';
import {Column} from '../../components/ui';
import {Column, Text} from '../../components/ui';
import {Theme} from '../../components/ui/styleUtils';
import {RootRouteProps} from '../../routes';
import {HomeRouteProps} from '../../routes/main';
Expand Down Expand Up @@ -132,6 +132,7 @@ export const IssuersScreen: React.FC<
{...testIDProps('addCardDescription')}
style={{
...Theme.TextStyles.regularGrey,
paddingTop: 0.5,
marginVertical: 14,
marginHorizontal: 9,
}}>
Expand Down

0 comments on commit 9dfb2aa

Please sign in to comment.