Style cleaning and initial text size audit (#618)
* Style cleaning and initial text size audit * Put file back
This commit is contained in:
parent
841ad692d3
commit
824a2313b1
9 changed files with 22 additions and 19 deletions
|
@ -22,7 +22,7 @@ import {
|
|||
View,
|
||||
ViewProps,
|
||||
} from 'react-native'
|
||||
import {addStyle, colors} from 'lib/styles'
|
||||
import {addStyle} from 'lib/styles'
|
||||
import {usePalette} from 'lib/hooks/usePalette'
|
||||
|
||||
interface AddedProps {
|
||||
|
@ -124,12 +124,6 @@ const styles = StyleSheet.create({
|
|||
marginLeft: 'auto',
|
||||
marginRight: 'auto',
|
||||
},
|
||||
containerLight: {
|
||||
backgroundColor: colors.gray1,
|
||||
},
|
||||
containerDark: {
|
||||
backgroundColor: colors.gray7,
|
||||
},
|
||||
fixedHeight: {
|
||||
height: '100vh',
|
||||
},
|
||||
|
|
|
@ -339,7 +339,9 @@ const DropdownItems = ({
|
|||
color={pal.text.color as string}
|
||||
/>
|
||||
)}
|
||||
<Text style={[styles.label, pal.text]}>{item.label}</Text>
|
||||
<Text style={[styles.label, pal.text]} numberOfLines={1}>
|
||||
{item.label}
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
)
|
||||
} else if (isSep(item)) {
|
||||
|
|
|
@ -63,6 +63,5 @@ const styles = StyleSheet.create({
|
|||
position: 'absolute',
|
||||
left: 6,
|
||||
bottom: 6,
|
||||
width: 46,
|
||||
},
|
||||
})
|
||||
|
|
|
@ -184,6 +184,5 @@ const styles = StyleSheet.create({
|
|||
position: 'absolute',
|
||||
left: 6,
|
||||
bottom: 6,
|
||||
width: 46,
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue