aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-18 10:35:32 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-18 11:02:51 +0100
commite76fa39804056cad55e436c39a3540f245e9f1ac (patch)
tree91b0b3098f25f2f44ef74ab269a965b87692d25b /server
parent3f38540619ece91a5f77cdd202ba339d3eb41462 (diff)
downloadsonarqube-e76fa39804056cad55e436c39a3540f245e9f1ac.tar.gz
sonarqube-e76fa39804056cad55e436c39a3540f245e9f1ac.zip
SONAR-7146 Open files in place
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/SourceViewer.js2
-rw-r--r--server/sonar-web/src/main/less/pages/code.less4
2 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/SourceViewer.js b/server/sonar-web/src/main/js/apps/code/components/SourceViewer.js
index 26fcc606833..f207e4a0faf 100644
--- a/server/sonar-web/src/main/js/apps/code/components/SourceViewer.js
+++ b/server/sonar-web/src/main/js/apps/code/components/SourceViewer.js
@@ -27,6 +27,6 @@ export default class SourceViewer extends Component {
}
render () {
- return <div ref="container"></div>;
+ return <div ref="container" className="code-source-viewer"></div>;
}
}
diff --git a/server/sonar-web/src/main/less/pages/code.less b/server/sonar-web/src/main/less/pages/code.less
index 463998dab89..8fda47825e6 100644
--- a/server/sonar-web/src/main/less/pages/code.less
+++ b/server/sonar-web/src/main/less/pages/code.less
@@ -37,3 +37,7 @@
max-width: 300px;
.text-ellipsis;
}
+
+.code-source-viewer .source-viewer-header-component {
+ visibility: hidden;
+}