diff options
-rw-r--r-- | server/sonar-web/src/main/js/apps/code/components/SourceViewer.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/less/pages/code.less | 4 |
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; +} |