From 11f37072ce486a00cb8a7cd7202dd175614e37cb Mon Sep 17 00:00:00 2001 From: hotoo Date: Sun, 28 Sep 2014 20:24:27 +0800 Subject: [PATCH] fixed sub event styles --- timeline.css | 2 +- timeline.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/timeline.css b/timeline.css index 521c21d..b8b19f9 100644 --- a/timeline.css +++ b/timeline.css @@ -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; diff --git a/timeline.js b/timeline.js index f52c3ae..2540cd7 100644 --- a/timeline.js +++ b/timeline.js @@ -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('
  • '); + body_events.push('
  • '); } });