]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9583 fix missing pages layout
authorStas Vilchik <stas.vilchik@sonarsource.com>
Tue, 25 Jul 2017 08:35:10 +0000 (10:35 +0200)
committerStas Vilchik <stas.vilchik@sonarsource.com>
Tue, 25 Jul 2017 08:35:10 +0000 (10:35 +0200)
server/sonar-web/src/main/js/apps/background-tasks/components/BackgroundTasksApp.js
server/sonar-web/src/main/js/apps/component/components/App.js
server/sonar-web/src/main/js/apps/overview/components/App.js

index a26112033ff33dd6ad9dc0ebacdbda9a228869ca..23a54777c6742556e7defb26c7dbcb0a2247030a 100644 (file)
@@ -198,7 +198,7 @@ class BackgroundTasksApp extends React.PureComponent {
 
     if (!types) {
       return (
-        <div className="page">
+        <div className="page page-limited">
           <i className="spinner" />
         </div>
       );
index 96bf963b4a407a4a0989075019a419ae50b22195..35211b6b11902defe297f9b6249efd7aec59afbe 100644 (file)
@@ -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}
index 5e314f44351ab0d49e5995626e93cc78fc33b167..a0aafc4c938165a64e1ec49a9137a4f0c97321e4 100644 (file)
@@ -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>
       );