Skip to content

Commit db8fdb9

Browse files
authored
Merge pull request #729 from RafikiTiki/patch-1
2 parents 989e31d + eb2b196 commit db8fdb9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres (more or less) to [Semantic Versioning](http://semver.o
88
## Unreleased
99

1010
* Add `className` prop to Timeline component to override `react-calendar-timeline` class #682
11+
* Fix injecting custom vertical line's class names for time periods longer than day
1112

1213
## 0.26.7
1314

src/lib/columns/Columns.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Columns extends Component {
7373
(firstOfType ? ' rct-vl-first' : '') +
7474
(minUnit === 'day' || minUnit === 'hour' || minUnit === 'minute'
7575
? ` rct-day-${time.day()} `
76-
: '') +
76+
: ' ') +
7777
classNamesForTime.join(' ')
7878

7979
const left = getLeftOffsetFromDate(time.valueOf())
@@ -112,4 +112,4 @@ ColumnsWrapper.defaultProps = {
112112
...passThroughPropTypes
113113
}
114114

115-
export default ColumnsWrapper
115+
export default ColumnsWrapper

0 commit comments

Comments
 (0)