[FIX] Condensed layout cutting text on smaller text sizes (#3831)

This commit is contained in:
Diego Mello 2022-03-07 17:48:45 -03:00 committed by GitHub
parent 45c0e0630c
commit 091055a255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 18 deletions

View File

@ -33,8 +33,7 @@ const Wrapper = ({ accessibilityLabel, theme, children, displayMode, ...props }:
styles.centerContainer,
{
borderColor: themes[theme].separatorColor
},
displayMode === DisplayMode.Condensed && styles.condensedPaddingVertical
}
]}>
{children}
</View>

View File

@ -21,9 +21,6 @@ export default StyleSheet.create<any>({
containerCondensed: {
height: ROW_HEIGHT_CONDENSED
},
condensedPaddingVertical: {
paddingVertical: 20
},
centerContainer: {
flex: 1,
paddingVertical: 10,
@ -33,7 +30,6 @@ export default StyleSheet.create<any>({
title: {
flex: 1,
fontSize: 17,
lineHeight: 20,
...sharedStyles.textMedium
},
alert: {
@ -67,7 +63,6 @@ export default StyleSheet.create<any>({
markdownText: {
flex: 1,
fontSize: 14,
lineHeight: 17,
...sharedStyles.textRegular
},
avatar: {

File diff suppressed because one or more lines are too long