diff --git a/src/js/components/TimerItem.js b/src/js/components/TimerItem.js index 170eeaf..5753c3e 100644 --- a/src/js/components/TimerItem.js +++ b/src/js/components/TimerItem.js @@ -36,7 +36,7 @@ const TimerItem = ({onClose, onStart, onStop, onTitleToggle, started, title, dis diff --git a/src/js/reducers/index.js b/src/js/reducers/index.js index 8f39b91..3148330 100644 --- a/src/js/reducers/index.js +++ b/src/js/reducers/index.js @@ -106,9 +106,9 @@ export default function reducer(state={ let newState = _.assign({}, state); newState.timers = _.map(newState.timers, (timer) => { - timer.started = false; if (timer.id === id) { + timer.started = false; timer.endTime = moment.now(); // Save duration in case we want to start timer again timer.durationCycle = timer.duration; diff --git a/src/scss/app.scss b/src/scss/app.scss index 58de30a..be1558d 100644 --- a/src/scss/app.scss +++ b/src/scss/app.scss @@ -39,6 +39,8 @@ &-title { flex-grow: 1; + margin-bottom: 0; + margin-right: 20px; } }