Skip to content

Commit 8aa758e

Browse files
author
Rafał Zakrzewski
authored
Fix injecting custom class names for vertical lines
Fixes injecting custom class names for vertical lines spanning over a period of time longer than day (eg. month)
1 parent b656daa commit 8aa758e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)