[FIX] Fit the content of the ordered and unordered list (#4901)
* [FIX] Fit the content of the ordered and unordered list * update storyshot
This commit is contained in:
parent
4dfc9c70f3
commit
d759b475e7
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,7 @@ const OrderedList = ({ value }: IOrderedListProps): React.ReactElement => {
|
|||
{value.map(item => (
|
||||
<View style={styles.row} key={item.number?.toString()}>
|
||||
<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} />
|
||||
</Text>
|
||||
</View>
|
||||
|
|
|
@ -18,7 +18,7 @@ const UnorderedList = ({ value }: IUnorderedListProps) => {
|
|||
{value.map(item => (
|
||||
<View style={styles.row}>
|
||||
<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} />
|
||||
</Text>
|
||||
</View>
|
||||
|
|
Loading…
Reference in New Issue