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

Fix height in new page

Oliver Günther78382f8a4894
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.sass
index f557504d009..53e70911d53 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
@@ -1,20 +1,19 @@
.op-ian-center
- display: grid
- grid-template-rows: auto 100%
- grid-template-areas: "toolbar" "content" "footer"
-
- &--toolbar
- grid-area: toolbar
+ height: 100%
&--content
+ height: 100%
grid-area: content
+ // Allow viewbox to get autoheight
+ display: flex
+ flex-direction: column
+
+ &--viewport
+ flex: 1
&--entries
list-style: none
- &--footer
- grid-area: footer
-
&--entry
display: list-item
diff --git a/frontend/src/app/features/in-app-notifications/in-app-notifications.routes.ts b/frontend/src/app/features/in-app-notifications/in-app-notifications.routes.ts
index 2068ce7c66f..392d6f7d559 100644
--- a/frontend/src/app/features/in-app-notifications/in-app-notifications.routes.ts
+++ b/frontend/src/app/features/in-app-notifications/in-app-notifications.routes.ts
@@ -34,5 +34,8 @@ export const IAN_ROUTES:Ng2StateDeclaration[] = [
name: 'notifications',
url: '/notifications',
component: InAppNotificationCenterComponent,
+ data: {
+ bodyClasses: 'router--work-packages-base',
+ },
},
];