mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix spacing
This commit is contained in:
@@ -14,13 +14,12 @@ const TodoListPercentage = ({
|
||||
percentageOfTodo
|
||||
}) => (
|
||||
<div styleName='percentageBar' style={{display: isNaN(percentageOfTodo) ? 'none' : ''}}>
|
||||
<div styleName='progressBar' style={{ width: percentageOfTodo + '%'}}>
|
||||
<div styleName='progressBar' style={{width: percentageOfTodo + '%'}}>
|
||||
<p styleName='percentageText'>{percentageOfTodo + '%'}</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
|
||||
TodoListPercentage.propTypes = {
|
||||
percentageOfTodo: PropTypes.number.isRequired
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user