aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-25 10:35:10 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-07-25 10:35:10 +0200
commite8e323c872295d176016bd1dfcc3c7191b3de0e6 (patch)
tree39a4c3b603e558f67f58b092116b36ceba1cdf5d /server/sonar-web/src/main/js
parent935ecc809124f311ecb17ee42ae82896b5028293 (diff)
downloadsonarqube-e8e323c872295d176016bd1dfcc3c7191b3de0e6.tar.gz
sonarqube-e8e323c872295d176016bd1dfcc3c7191b3de0e6.zip
SONAR-9583 fix missing pages layout
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js2
-rw-r--r--server/sonar-web/src/main/js/apps/component/components/App.js2
-rw-r--r--server/sonar-web/src/main/js/apps/overview/components/App.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js b/server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js
index a26112033ff..23a54777c67 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js
@@ -198,7 +198,7 @@ class BackgroundTasksApp extends React.PureComponent {
if (!types) {
return (
- <div className="page">
+ <div className="page page-limited">
<i className="spinner" />
</div>
);
diff --git a/server/sonar-web/src/main/js/apps/component/components/App.js b/server/sonar-web/src/main/js/apps/component/components/App.js
index 96bf963b4a4..35211b6b119 100644
--- a/server/sonar-web/src/main/js/apps/component/components/App.js
+++ b/server/sonar-web/src/main/js/apps/component/components/App.js
@@ -49,7 +49,7 @@ export default class App extends React.PureComponent {
const finalLine = line != null ? Number(line) : null;
return (
- <div className="page">
+ <div className="page page-limited">
<SourceViewer
aroundLine={finalLine}
component={id}
diff --git a/server/sonar-web/src/main/js/apps/overview/components/App.js b/server/sonar-web/src/main/js/apps/overview/components/App.js
index 5e314f44351..a0aafc4c938 100644
--- a/server/sonar-web/src/main/js/apps/overview/components/App.js
+++ b/server/sonar-web/src/main/js/apps/overview/components/App.js
@@ -53,7 +53,7 @@ class App extends React.PureComponent {
if (['FIL', 'UTS'].includes(component.qualifier)) {
return (
- <div className="page">
+ <div className="page page-limited">
<SourceViewer component={component.key} />
</div>
);