aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2022-04-27 16:52:09 +0200
committersonartech <sonartech@sonarsource.com>2022-04-29 20:03:19 +0000
commit26f03c4efa0aff17a99de1f71cf847b928486d2e (patch)
treeb35a294bff64ebdc36af8b1cd331bc67283c9284
parent6bf84edcc61f2ffbf0cc2dfb84f97c0f8214417b (diff)
downloadsonarqube-26f03c4efa0aff17a99de1f71cf847b928486d2e.tar.gz
sonarqube-26f03c4efa0aff17a99de1f71cf847b928486d2e.zip
SONAR-16133 Remove unused spacer class
-rw-r--r--server/sonar-web/src/main/js/app/styles/init/tables.css5
-rw-r--r--server/sonar-web/src/main/js/apps/account/projects/Projects.tsx1
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/components/App.tsx6
3 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/app/styles/init/tables.css b/server/sonar-web/src/main/js/app/styles/init/tables.css
index bf240666c03..d620dcb39a3 100644
--- a/server/sonar-web/src/main/js/app/styles/init/tables.css
+++ b/server/sonar-web/src/main/js/app/styles/init/tables.css
@@ -74,11 +74,6 @@ table.spacedicon td {
width: 1%;
}
-.spacer {
- width: 5px;
- display: inline-block;
-}
-
.formError {
display: inline-block;
background-color: var(--orange);
diff --git a/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx b/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
index 614881b3bb8..d702b8140e7 100644
--- a/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
+++ b/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
@@ -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}
/>
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx
index df8f249abe2..422ef0a65ef 100644
--- a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx
@@ -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;