From f6478b332eb7118ff42eeaf619b550afed10ff91 Mon Sep 17 00:00:00 2001 From: Juan Wajnerman Date: Wed, 28 Jun 2017 14:20:26 -0300 Subject: [PATCH] Adjust position of tooltip over survey status (fixes #1111) --- web/static/js/components/surveys/SurveyStatus.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/static/js/components/surveys/SurveyStatus.jsx b/web/static/js/components/surveys/SurveyStatus.jsx index 87fa11dc9..e1ba220b1 100644 --- a/web/static/js/components/surveys/SurveyStatus.jsx +++ b/web/static/js/components/surveys/SurveyStatus.jsx @@ -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 = { @@ -91,7 +92,7 @@ export default class SurveyStatus extends PureComponent { } let component = ( - + {icon} { text } @@ -106,7 +107,7 @@ export default class SurveyStatus extends PureComponent { } return ( -

+

{component}

)