[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, styles.centerContainer,
{ {
borderColor: themes[theme].separatorColor borderColor: themes[theme].separatorColor
}, }
displayMode === DisplayMode.Condensed && styles.condensedPaddingVertical
]}> ]}>
{children} {children}
</View> </View>

View File

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

File diff suppressed because one or more lines are too long