[FIX] Condensed layout cutting text on smaller text sizes (#3831)
This commit is contained in:
parent
45c0e0630c
commit
091055a255
|
@ -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>
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue