Skip to content

Commit

Permalink
Adjust position of tooltip over survey status (fixes #1111)
Browse files Browse the repository at this point in the history
  • Loading branch information
waj committed Jun 28, 2017
1 parent d5915fe commit f6478b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/static/js/components/surveys/SurveyStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { PureComponent } from 'react'
import TimeAgo from 'react-timeago'
import { Tooltip } from '../ui'
import { formatTimezone } from '../timezones/util'
import classNames from 'classnames/bind'

export default class SurveyStatus extends PureComponent {
static propTypes = {
Expand Down Expand Up @@ -91,7 +92,7 @@ export default class SurveyStatus extends PureComponent {
}

let component = (
<span className='truncate'>
<span>
<i className='material-icons survey-status'>{icon}</i>
{ text }
</span>
Expand All @@ -106,7 +107,7 @@ export default class SurveyStatus extends PureComponent {
}

return (
<p className={color}>
<p className={classNames(color, 'truncate')}>
{component}
</p>
)
Expand Down

0 comments on commit f6478b3

Please sign in to comment.