diff --git a/ui/src/shared/components/SourceIndicator.js b/ui/src/shared/components/SourceIndicator.js index ff9bb40604..e712b9b6b6 100644 --- a/ui/src/shared/components/SourceIndicator.js +++ b/ui/src/shared/components/SourceIndicator.js @@ -1,4 +1,5 @@ import React, {PropTypes} from 'react' +import ReactTooltip from 'react-tooltip' const SourceIndicator = React.createClass({ propTypes: { @@ -10,13 +11,14 @@ const SourceIndicator = React.createClass({ if (!sourceName) { return null } + const sourceNameTooltip = `Connected to ${sourceName}` return ( -
+
- {sourceName} +
) }, }) -export default SourceIndicator +export default SourceIndicator \ No newline at end of file diff --git a/ui/src/style/components/source-indicator.scss b/ui/src/style/components/source-indicator.scss index 64e9bc410a..a4e04c78df 100644 --- a/ui/src/style/components/source-indicator.scss +++ b/ui/src/style/components/source-indicator.scss @@ -5,23 +5,17 @@ .source-indicator { @include no-user-select(); display: inline-block; - padding: 0 9px; + padding: 0 4px; border: 0; - background-color: $g5-pepper; height: 30px; line-height: 30px; color: $g13-mist; font-weight: 700; font-size: 12px; - border-radius: 3px; - margin-right: 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; > .icon { display: inline-block; font-size: 16px; - margin: 0 4px 0 -2px; + margin: 0 4px; } } \ No newline at end of file