create a class for puestionmarkTooltip in a link and format tooltip text

pull/10616/head
Iris Scholten 2018-03-23 16:50:28 -07:00
parent e3a33d0e75
commit 2bcbed9157
2 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class GraphOptionsTimeFormat extends PureComponent<Props, State> {
public render() {
const {format, customFormat} = this.state
const tipUrl = 'http://momentjs.com/docs/#/parsing/string-format/'
const tipContent = `For information on formatting, see ${tipUrl}`
const tipContent = `For information on formatting, see <br/><a href="#">${tipUrl}</a>`
const formatOption = FORMAT_OPTIONS.find(op => op.text === format)
const showCustom = !formatOption || customFormat

View File

@ -128,3 +128,7 @@ $qmark-tooltip-size: 15px;
background-color: $c-pool;
}
}
a > .question-mark-tooltip:hover {
cursor: pointer;
}