Skip to content

Commit fd2370b

Browse files
committed
Merge pull request #7 from xmityaz/original
[VerticalLines] Fixed first line top position, if line height has been changed
2 parents 103fd97 + 760fcb5 commit fd2370b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/lines/VerticalLines.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class VerticalLines extends Component {
3838
<div key={`line-${time.valueOf()}`}
3939
className={classNames}
4040
style={{
41-
top: `${lineHeight * 2}px`,
41+
top: `${headerHeight}px`,
4242
left: `${left + leftPush}px`,
4343
width: `${labelWidth}px`,
4444
height: `${height - headerHeight}px`

0 commit comments

Comments
 (0)