diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2024-02-20 09:34:09 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-02-20 20:02:38 +0000 |
commit | 9b925e5931796a04867eb9c524e67fae9da2671a (patch) | |
tree | fac07eb88558a647d7794d3ab1628bb4b1bf16c2 /server/sonar-web/src/main/js/apps/maintenance | |
parent | 04c6c92cc775134fc3208ae404e4f36fa9ccb490 (diff) | |
download | sonarqube-9b925e5931796a04867eb9c524e67fae9da2671a.tar.gz sonarqube-9b925e5931796a04867eb9c524e67fae9da2671a.zip |
SONAR-19032 MIUI cleanup part 1 (#10627)
Co-authored-by: David Cho-Lerat <david.cho-lerat@sonarsource.com>
Co-authored-by: Jeremy Davis <jeremy.davis@sonarsource.com>
Diffstat (limited to 'server/sonar-web/src/main/js/apps/maintenance')
-rw-r--r-- | server/sonar-web/src/main/js/apps/maintenance/components/App.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx index c1f776c0154..03f90e84fe0 100644 --- a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import styled from '@emotion/styled'; -import { ButtonPrimary, Card, Link, Note, Spinner, Title } from 'design-system'; +import { ButtonPrimary, Card, CenteredLayout, Link, Note, Spinner, Title } from 'design-system'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; import { FormattedMessage } from 'react-intl'; @@ -137,7 +137,7 @@ export default class App extends React.PureComponent<Props, State> { return ( <> <Helmet defaultTitle={translate('maintenance.page')} defer={false} /> - <div className="page-wrapper-simple" id="bd"> + <CenteredLayout className="sw-flex sw-justify-around sw-mt-32" id="bd"> <Card className="sw-body-sm sw-p-10 sw-w-abs-400" id="nonav"> {status === 'OFFLINE' && ( <> @@ -307,7 +307,7 @@ export default class App extends React.PureComponent<Props, State> { </> )} </Card> - </div> + </CenteredLayout> </> ); } |