OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix position of IAN loading image on mobile
Oliver Güntheree6789652b33
diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.htmlindex d200bad97fe..85f9ea1da11 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html@@ -1,5 +1,8 @@<div class="op-ian-center">- <div class="op-ian-center--content">+ <div+ class="op-ian-center--content"+ [class.op-ian-center--content_empty]="(loading$ | async) === true || (hasNotifications$ | async) === false"+ ><ng-container *ngIf="(loading$ | async) === false; else loading"><ng-container *ngIf="(hasNotifications$ | async); else noResults"><cdk-virtual-scroll-viewport@@ -42,9 +45,11 @@</ng-template></ng-container><ng-template #loading>- <img [src]="image.loading"- class="op-ian-center--loading-indicator op-ian-center-loading-image"+ <div class="op-ian-center--loading-indicator">+ <img [src]="image.loading"+ class="op-ian-center-loading-image"data-qa-selector="op-ian-center--loading-indicator"/>+ </div></ng-template></div><div class="op-ian-center--footer">diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sassindex 4a7d2a61a54..5c52c871053 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass@@ -8,6 +8,10 @@&--contentheight: 100%+ &_empty+ display: flex+ align-items: center+&--viewportheight: 100%// Avoid infinite horizontal scrolling on mobile iOS (#39849)@@ -21,17 +25,13 @@// While loading, appear to be showing one item row&--loading-indicator- position: absolute- left: 50%- top: 50%- transform: translate(-50%, -50%)+ display: flex+ flex-direction: column+ align-items: centertext-align: center- max-width: 650px+ max-width: 677px+ margin: 0 auto- @media screen and (max-width: 679px)- left: 0- top: 2rem- transform: none:host.-browser-safari &