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

Make footer sticky. In order to make the team planner autoscroll, the `.fc-scroller` class needs to be set on the scrolling container (#10262)

Henriette Darge326c612a132d
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
index 3edd8bad57f..bfa56398cd3 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
@@ -35,7 +35,7 @@
#ucCalendar
*ngIf="calendarOptions"
[options]="calendarOptions"
- class="op-team-planner--calendar"
+ class="op-team-planner--calendar fc-scroller"
[ngClass]="{'op-team-planner--calendar_empty': (isEmpty$ | async)}"
></full-calendar>
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.sass b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.sass
index 04f0e7e5066..1b7ad917912 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.sass
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.sass
@@ -21,8 +21,12 @@ $op-team-planner-resource-width: 180px
&--calendar-pane
grid-area: calendar
- overflow: auto // Avoid empty space on the right since the styled scrollbar would only be visible on hover.
- @include no-visible-scroll-bar
+ display: flex
+ flex-direction: column
+ overflow: hidden
+
+ &--calendar
+ overflow: auto
&--add-existing-pane
grid-area: addExisting
@@ -81,4 +85,4 @@ $op-team-planner-resource-width: 180px
width: 200px
&--empty-state-button
- margin: 1rem 0
\ No newline at end of file
+ margin: 1rem 0