Skip to content

Commit

Permalink
Added css for clickable when task text is outside of task
Browse files Browse the repository at this point in the history
  • Loading branch information
abzicht committed Mar 15, 2019
1 parent f272cff commit 0a7b884
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/knsv/mermaid"
"url": "https://github.com/abzicht/mermaid"
},
"author": "Knut Sveidqvist",
"license": "MIT",
Expand Down Expand Up @@ -86,4 +86,4 @@
"babel-core"
]
}
}
}
13 changes: 13 additions & 0 deletions src/themes/gantt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
font-size: 11px;
}

/* Special case clickable */
.task.clickable {
cursor: pointer;
}
Expand All @@ -98,6 +99,18 @@
font-weight: bold;
}

.taskTextOutsideLeft.clickable {
cursor: pointer;
fill: $taskTextClickableColor !important;
font-weight: bold;
}

.taskTextOutsideRight.clickable {
cursor: pointer;
fill: $taskTextClickableColor !important;
font-weight: bold;
}

/* Specific task settings for the sections*/

.taskText0,
Expand Down

0 comments on commit 0a7b884

Please sign in to comment.