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