fix: change color & variant pour le total des votes
This commit is contained in:
@@ -177,7 +177,8 @@ export default function VersionComparison({versionData, versionCompare, voteRefr
|
|||||||
<Chip
|
<Chip
|
||||||
label={`Total: ${voteCounts.total >= 0 ? '+' : ''}${voteCounts.total}`}
|
label={`Total: ${voteCounts.total >= 0 ? '+' : ''}${voteCounts.total}`}
|
||||||
size='small'
|
size='small'
|
||||||
color={voteCounts.total > 0 ? 'success' : (voteCounts.total < 0 ? 'error' : 'default')}
|
color={voteCounts.total > 0 ? 'success' : (voteCounts.total < 0 ? 'error' : 'primary')}
|
||||||
|
variant='outlined'
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user