summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/overview/meta.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/meta.js b/server/sonar-web/src/main/js/apps/overview/meta.js
index d1dab708101..403bc3c6f72 100644
--- a/server/sonar-web/src/main/js/apps/overview/meta.js
+++ b/server/sonar-web/src/main/js/apps/overview/meta.js
@@ -98,9 +98,10 @@ export default React.createClass({
let keyCard = (
<div>
<h4 className="overview-meta-header">{translate('key')}</h4>
- <div style={{ overflow: 'auto', whiteSpace: 'nowrap' }}>
- <code>{this.props.component.key}</code>
- </div>
+ <input
+ type="text"
+ value={this.props.component.key}
+ style={{ width: '100%' }}/>
</div>
);