Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Commit

Permalink
Change emphasized item border color to the group color.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergibondarenko committed Dec 28, 2016
1 parent 611fa9a commit 2f1f70b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/kibi_timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ define(function (require) {
// here the end field value missing but expected
// or start field value === end field value
// force vis box look like vis point
style = `border-style: none; background-color: #fff; color: ${groupColor};`;
style = `border-style: none; background-color: #fff; color: ${groupColor}; border-color: ${groupColor}`;
const divregex = /(<div.*>)(.*)(<\/div>)/g;
const contentDivParts = divregex.exec(content);
const pointDot = '<div style="position:relative;padding:0;border-width:4px;border-style:solid;' +
Expand All @@ -259,7 +259,7 @@ define(function (require) {
if (params.invertFirstLabelInstance &&
!_.includes(uniqueLabels, labelValue.toLowerCase().trim())) {
if (!endFieldValue || startValue === endFieldValue[i]) {
style = `border-style: solid; background-color: #fff; color: ${groupColor};`;
style = `border-style: solid; background-color: #fff; color: ${groupColor}; border-color: ${groupColor}`;
} else {
style = `background-color: #fff; color: ${groupColor};`;
}
Expand Down

0 comments on commit 2f1f70b

Please sign in to comment.