Skip to content

Commit

Permalink
fixed sub event styles
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Sep 28, 2014
1 parent 5991947 commit 11f3707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion timeline.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
.markline > .events > .groups > ol > li:hover > div > label {
color: #fff;
}
.markline > .events > .groups > ol > li > > div > ol > li {
.markline > .events > .groups > ol > li > div > ol > li {
width: 8px;
height: 8px;
font-size: 0;
Expand Down
2 changes: 1 addition & 1 deletion timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Markline.prototype.render = function(){
var event_start = calcLength(event["date-start"] - current_line_offset_left);
var event_width = calcLength(event["date-end"] - event["date-start"]);
if (event_width < 8) {event_width = 8;}
body_events.push('<li style="margin-left:', event_start, 'px;width:', event_width, 'px" title="', event.date, ' ', event.name, '"></li>');
body_events.push('<li style="left:', event_start, 'px;width:', event_width, 'px" title="', event.date, ' ', event.name, '"></li>');
}

});
Expand Down

0 comments on commit 11f3707

Please sign in to comment.