fix(rn, polls): Fix vote percentage alignment
This commit is contained in:
parent
7f95bc23fe
commit
95e96b605d
|
@ -38,7 +38,9 @@ const PollResults = (props: AbstractProps) => {
|
|||
const renderHeader = (answer: string, percentage: number, nbVotes: number) => (
|
||||
<View style = { resultsStyles.answerHeader }>
|
||||
<Text style = { resultsStyles.answer }>{ answer }</Text>
|
||||
<Text style = { resultsStyles.answer }>({nbVotes}) {percentage}%</Text>
|
||||
<View>
|
||||
<Text style = { resultsStyles.answer }>({nbVotes}) {percentage}%</Text>
|
||||
</View>
|
||||
|
||||
{/* <Text style = { resultsStyles.answer }>{ answer } - { percentage }%</Text>
|
||||
<Text style = { resultsStyles.answerVoteCount }>
|
||||
|
|
Loading…
Reference in New Issue