Skip to content

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

Change classes to match BEM style

Henriette Dargedc7ecc70db03
diff --git a/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.html b/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.html
index 45e71228440..82b13beaa22 100644
--- a/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.html
+++ b/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.html
@@ -4,18 +4,18 @@
>
<div class="work-packages-tab-view--overflow op-empty-state--content">
<ng-container *ngIf="loading; else finishedLoading">
- <img [src]="image.loading" class="op-empty-state--content--image"/>
+ <img [src]="image.loading" class="op-empty-state--content-image"/>
</ng-container>
<ng-template #finishedLoading>
<ng-container *ngIf="hasNotifications; else noNotification">
- <img [src]="image.no_selection" class="op-empty-state--content--image"/>
- <p class="op-empty-state--content--text">
+ <img [src]="image.no_selection" class="op-empty-state--content-image"/>
+ <p class="op-empty-state--content-text">
<span>{{ text.no_selection }}</span>
</p>
</ng-container>
<ng-template #noNotification>
- <img [src]="image.no_notification" class="op-empty-state--content--image"/>
- <p class="op-empty-state--content--text">
+ <img [src]="image.no_notification" class="op-empty-state--content-image"/>
+ <p class="op-empty-state--content-text">
<span [textContent]="noNotificationText()"></span>
</p>
</ng-template>
diff --git a/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.sass b/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.sass
index da88c2d8ff9..c732896d87b 100644
--- a/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.sass
+++ b/frontend/src/app/features/in-app-notifications/center/empty-state/empty-state.component.sass
@@ -11,11 +11,11 @@
top: 35%
position: absolute
- &--text
- color: var(--gray-dark)
- font-size: 18px
+ &--content-text
+ color: var(--gray-dark)
+ font-size: 18px
- &--image
- max-height: 130px
- min-height: 130px
- margin-bottom: 15px
+ &--content-image
+ max-height: 130px
+ min-height: 130px
+ margin-bottom: 15px