[FIX] Fit the content of the ordered and unordered list

This commit is contained in:
Reinaldo Neto 2023-02-09 17:14:04 -03:00 committed by Diego Mello
parent edd0333be1
commit 80b97e1e8f
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@ const OrderedList = ({ value }: IOrderedListProps): React.ReactElement => {
{value.map(item => ( {value.map(item => (
<View style={styles.row} key={item.number?.toString()}> <View style={styles.row} key={item.number?.toString()}>
<Text style={[styles.text, { color: colors.bodyText }]}>{item.number}. </Text> <Text style={[styles.text, { color: colors.bodyText }]}>{item.number}. </Text>
<Text style={{ color: colors.bodyText }}> <Text style={[styles.inline, { color: colors.bodyText }]}>
<Inline value={item.value} /> <Inline value={item.value} />
</Text> </Text>
</View> </View>

View File

@ -18,7 +18,7 @@ const UnorderedList = ({ value }: IUnorderedListProps) => {
{value.map(item => ( {value.map(item => (
<View style={styles.row}> <View style={styles.row}>
<Text style={[styles.text, { color: themes[theme].bodyText }]}>- </Text> <Text style={[styles.text, { color: themes[theme].bodyText }]}>- </Text>
<Text style={{ color: themes[theme].bodyText }}> <Text style={[styles.inline, { color: themes[theme].bodyText }]}>
<Inline value={item.value} /> <Inline value={item.value} />
</Text> </Text>
</View> </View>