]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-16133 Remove unused spacer class
authorJeremy Davis <jeremy.davis@sonarsource.com>
Wed, 27 Apr 2022 14:52:09 +0000 (16:52 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 29 Apr 2022 20:03:19 +0000 (20:03 +0000)
server/sonar-web/src/main/js/app/styles/init/tables.css
server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
server/sonar-web/src/main/js/apps/component-measures/components/App.tsx

index bf240666c03271dce4efb27d1eac1c3f726e0738..d620dcb39a33bcc29269d1d42b753810fa251b07 100644 (file)
@@ -74,11 +74,6 @@ table.spacedicon td {
   width: 1%;
 }
 
-.spacer {
-  width: 5px;
-  display: inline-block;
-}
-
 .formError {
   display: inline-block;
   background-color: var(--orange);
index 614881b3bb886bd6a54fef56800d32dc9d0eec11..d702b8140e75b5d1bf1ce0ef9f3db667d6f26a24 100644 (file)
@@ -55,6 +55,7 @@ export default function Projects(props: Props) {
         <ListFooter
           count={projects.length}
           loadMore={props.loadMore}
+          loading={props.loading}
           ready={!props.loading}
           total={props.total || 0}
         />
index df8f249abe21ee29b94bfa47747889f2b4303edc..422ef0a65ef01c059dd462fcf52750eb032181a2 100644 (file)
@@ -292,7 +292,11 @@ export class App extends React.PureComponent<Props, State> {
 
   render() {
     if (this.state.loading) {
-      return <i className="spinner spacer" />;
+      return (
+        <div className="display-flex-justify-center huge-spacer-top">
+          <i className="spinner" />
+        </div>
+      );
     }
 
     const { branchLike } = this.props;